How can I produce a satellite image using a set of coordinates in Google Maps' javascript API? -
i'd populate infowindow of annotation image of location pin on dynamically, producing aerial photo , stuffing infowindow.
this have now, means have have image each site ready go in advance, lot of provisioning work several hundred different buildings.
google.maps.event.addlistener(marker, "click", function(latlng) { var myhtml = "<b>" + location.name + "</b><br /><img src=../web/content/image/sites/"+ location.image + "><br/><br/><br/>"; map.openinfowindowhtml(latlng, myhtml); });
instead, i'd use aerial photo google has on file x/y coordinates. ideas?
you're looking google static maps api.
Comments
Post a Comment