Please tell me how can i raise event just after user change his position in google map using dragging map and get the latitude and longitude of center of google map and the miles its showing from center. i have got lots of pages on google related to it.. but not able to solve this.. please give me solution (i am using asp.net and javascript)
+1
A:
Hi, You can add moveend() or dragend() event (reference) and call getCenter() method to get the new map center Further resources to search for the links and code related to google map api is : http://groups.google.com/group/google-maps-api
lakhlaniprashant.blogspot.com
2010-02-08 12:10:35
can u please tell me how can i find out how many miles currently its showing from center point (in radius)
Rajesh Rolen- DotNet Developer
2010-02-08 12:21:32
+1
A:
GEvent.addListener(map, "moveend", function() {
var center = map.getCenter();
});
Tadas
2010-02-08 12:13:15
can u please tell me how can i find out how many miles currently its showing from center point (in radius)
Rajesh Rolen- DotNet Developer
2010-02-08 12:21:03
i got it we can do it with map.getZoom(); but please tell me how to convert it to mils
Rajesh Rolen- DotNet Developer
2010-02-08 12:32:10