Tuesday, April 27, 2010

Google Map Code link

http://code.google.com/apis/maps/documentation/overlays.html

   if (GBrowserIsCompatible()) {
map = new GMap(document.getElementById("map"));
map.setCenter(new GLatLng(33.5923607, -86.9924358), 13);
var point = new GLatLng(33.5923607,-86.9924358);
var marker=new GMarker(point);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml(details);
});

map.addOverlay(marker);
}


No comments:

Post a Comment