Open spark1991 opened 3 years ago
切换区域会生成不同的点,之前的聚合未清除
目前试了很多方法都清除不干净,感觉清除是需要时间,还有getmap可能有缓存
使用clearMap清除后 当前的覆盖物清除了,但是缩放之后又出现
创建点聚合:this.cluster =new AMap.MarkerClusterer(o, that.markers, { gridSize: 80 }) 清除点聚合:this.cluster.clearMarkers();
this.cluster =new AMap.MarkerClusterer(o, that.markers, { gridSize: 80 })
this.cluster.clearMarkers();
问题
VueAMap 版本
OS/Browsers version
Vue 版本
复现地址
预期
切换区域会生成不同的点,之前的聚合未清除
实际
feature request