Hi Larry,
Thanks a lot for your help. I looked up more documentation with the
overlayLatLng.
I found a post in which such a function is used:
GEvent.addListener(map, "click", function(*overlay*, *latlng*){
if (*latlng*) {
var myHtml = "The Latitude and Longitude values are: <br>" +
*latlng* + "<br>";
map.openInfoWindow(*latlng*, myHtml);
}
});
I tried those lattitude and longitude coordinates and it gives the right
coordinates on the map. So it seems to be working fine.
Thanks for pointing that out.
hk
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---