I am trying to display the Latitude & Longitude position of the cursor
as it moves in Google Map.

I am using the following code , but it is not working for me.

    var map;
    var geocoder;
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(12.9817, 80.2627), 13);
        map.addControl(new GSmallZoomControl());
        GEvent.addDomListener(map,'mousemove',
function(point){window.status='Wgs84 - '+point.toUrlValue();});
      }
    }
This is given in the link , 
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/81c7e684f80a7918

Can anyone tell me , what am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to