地图滑动返回地图中心点
map.addEventListener( "dragend" , function showInfo(){ var pointss = map.getCenter(); alert(pointss.lng + "," + pointss.lat); }); |
转载自:https://blog.csdn.net/fhycll123/article/details/79572072
map.addEventListener( "dragend" , function showInfo(){ var pointss = map.getCenter(); alert(pointss.lng + "," + pointss.lat); }); |
转载自:https://blog.csdn.net/fhycll123/article/details/79572072