| src/components/map/index.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/home/index.vue | ●●●●● patch | view | raw | blame | history |
src/components/map/index.vue
@@ -357,7 +357,7 @@ * @param {*} type 图层类型 */ mapRemoveLayer (layerName, type) { if (type == 'VectorLayer') { if (type == 'VectorLayer' || type == 'ClusterLayer') { if (layersObjcect[layerName] && layersObjcect[layerName] != null) { layersObjcect[layerName].remove() layersObjcect[layerName] = null src/views/home/index.vue
@@ -1498,7 +1498,7 @@ this.$EventBus.$emit('mapRemoveLayer', { layerName: 'activityLayers', type: 'VectorLayer' type: 'ClusterLayer' })