From 223558670632644a19aa4fb0238100708fca3ab7 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 13 五月 2021 17:39:54 +0800 Subject: [PATCH] 定位 高亮 --- src/components/LayerController/service/WmsLayerService.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/components/LayerController/service/WmsLayerService.js b/src/components/LayerController/service/WmsLayerService.js index 0094a71..a20dad6 100644 --- a/src/components/LayerController/service/WmsLayerService.js +++ b/src/components/LayerController/service/WmsLayerService.js @@ -86,6 +86,7 @@ clickListener () { window.map.on('click', (e) => { // console.log(e) + window.layerFactory.clearHighlight() this.featureGroup.clearLayers() var point = this.map.latLngToContainerPoint(e.latlng, this.map.getZoom()) var size = this.map.getSize() -- Gitblit v1.8.0