hi,
this is the cod i am using to point a place
function loadEarth(mapdiv) {
if (GBrowserIsCompatible()) {
var point;
if(!mapdiv)return true;
var map=new GMap2(document.getElementById("map"));
map.addControl(new GOverviewMapControl());
map.enableDoubleClickZoom();
map.enableScrollWheelZoom();
map.addControl(new GMapTypeControl());
map.addControl(new GSmallMapControl());
var marker = new GMarker(new GLatLng(37.875406,-87.227146));
map.setCenter(new GLatLng(37.875406,-87.227146),18);
map.addOverlay(marker);
map.setCenter(new GLatLng(37.875406,-87.227146), 18);
map.setMapType(G_SATELLITE_MAP);
var polyline = new GPolyline([new GLatLng
(37.875406,-87.227146),
new GLatLng(37.875406,-87.227146),
new GLatLng(37.875406,-87.227146)], "#3333cc", 18);
}
map.addOverlay(polyline);
please let me know to display map with displayed coordinates.
thanks in advance
ashok t.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---