Google Maps JavaScript API v3 changing marker and add satellite view -


I need help adding two things

var image = '1368298974442034922 Android-car- Home-256-v. Png '; I would like to delete the red default marker and add this item

and I do not know how to change from map to satellite view

   + '& Lt; H1 id = "first-hitting" class = "firstHeading" & gt; It is here!  gt; 'Id = "bodyContent" & gt; + 'According to our records it seems like your item is located here with a few feet. & Lt; Br> ; & Lt; Br> More information is needed See this information & lt; Br> & Lt; A href = "http://www.example.com" & gt; Http: //www.example.com< / A & gt; & Lt; / Div & gt; '+' & Lt; / Div & gt; '; Var infowindow = new google.maps.InfoWindow ({content: contentString}); Var marker = new google.maps.marker ({status: myLatlng, map: map, title: 'where we have met here!'}); Google.maps.event.addListener (Marker, 'Click', function () {infowindow.open (map, marker);}); } Google.maps.event.addDomListener (window, 'load', start); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "map-canvas" & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

marker:

  var markers = new google .maps.Marker ({status: myLatlng, map: map, title: 'where we have met here!', Icon: "1368298974442034922 android-car-home-256-page"});  

Satellite view:

  var mapOptions = {zoom: 20, center: myLatlng, mapTypeId: google.maps.MapTypeId.SATELLITE};  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -