地图滑动返回地图中心点

map.addEventListener( "dragend" , function showInfo(){
    var pointss = map.getCenter();
    alert(pointss.lng + ","  + pointss.lat);
});

猜你喜欢

转载自blog.csdn.net/fhycll123/article/details/79572072