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 and javascript)
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 and javascript)
Share Improve this question asked Feb 8, 2010 at 11:59 Dr. Rajesh RolenDr. Rajesh Rolen 14.3k42 gold badges110 silver badges180 bronze badges2 Answers
Reset to default 4
GEvent.addListener(map, "moveend", function() {
var center = map.getCenter();
});
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./group/google-maps-api
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745499912a4630366.html
评论列表(0条)