diff --git a/front/src/supermap/advance-init.js b/front/src/supermap/advance-init.js index effa837d..d9cc00c5 100644 --- a/front/src/supermap/advance-init.js +++ b/front/src/supermap/advance-init.js @@ -1676,9 +1676,7 @@ export function MapFun(mapObj) { // } //_removeLayerByLayerName(layerName) - let clickReplaceIcon = true; let selectedLayerList = []; - let selectedLayerId = []; let layers = null; // 判断是否是聚合图层 layers = createMarkerClusterLayer() @@ -1755,7 +1753,8 @@ export function MapFun(mapObj) { }); } } - mybus.emit('pointMarkerClick', feature) + mybus.emit('pointMarkerClick', feature); + selectedLayerList = []; }) layers.addLayer(marker) }