function get_abc_cent() {
var bz_center = mapObj.getCenter(); //获取中心点经纬度对象
var bz_zoom = mapObj.getZoomLevel(); //获取当前地图缩放级别
var returnstring = bz_center.lngX + "," + bz_center.latY + "," + bz_zoom;
return returnstring
}
function get_abc_cent() {
var bz_center = mapObj.getCenter(); //获取中心点经纬度对象
var bz_zoom = mapObj.getZoomLevel(); //获取当前地图缩放级别
var returnstring = bz_center.lngX + "," + bz_center.latY + "," + bz_zoom;
return returnstring
}
转载于:https://www.cnblogs.com/wangzong/archive/2011/07/26/2117467.html