admin管理员组文章数量:1023109
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
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
本文标签: aspnetHow to get latitude and longitude of center of google mapStack Overflow
版权声明:本文标题:asp.net - How to get latitude and longitude of center of google map - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745499910a2153342.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论