//设置地图最小缩放级别为17级 map.events.register("zoomend", this, function (e) {
//每次地图缩放时就会进入到这 if (map.getZoom() < 17) { //map.zoomTo(17); map.setCenter(map.getCenter(),17); } });
标签:回调 color his body gis event bsp style set
//设置地图最小缩放级别为17级 map.events.register("zoomend", this, function (e) {
//每次地图缩放时就会进入到这 if (map.getZoom() < 17) { //map.zoomTo(17); map.setCenter(map.getCenter(),17); } });
标签:回调 color his body gis event bsp style set
原文地址:https://www.cnblogs.com/1rookie/p/8485454.html