监听地图视图缩放级别 var map = new AMap.Map(map, { zoom: 5, center: [106.143065, 33.058826], resizeEnable: true});map.on("zoomchange",()=>{ var getZoo…
map.plugin(["AMap.MarkerClusterer"], function() { cluster = new AMap.MarkerClusterer( map, // 地图实例 &nbs…