From fad40e2356714b384cea02779711ad23d2d9e163 Mon Sep 17 00:00:00 2001 From: hbao Date: Mon, 21 Feb 2022 14:55:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map/MapGisDrawing.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Map/MapGisDrawing.vue b/src/components/Map/MapGisDrawing.vue index 91b57c70..d8af98d0 100644 --- a/src/components/Map/MapGisDrawing.vue +++ b/src/components/Map/MapGisDrawing.vue @@ -193,7 +193,7 @@ export default { //开始绘制地图 $("#"+this.drawingPolygonMap).click(function () { map.removeLayer(hc_land); - //map.removeLayer(hc_landFuther); + map.removeLayer(hc_landFuther); map.removeLayer(vector_drawing); //that.closeMoule = null; map.removeInteraction(draw); @@ -234,7 +234,7 @@ export default { $("#"+this.drawingResetMap).click(function () { if(that.closeMoule !=null) { map.removeLayer(vector_drawing); - //map.removeLayer(hc_landFuther); + map.addLayer(hc_landFuther); map.removeInteraction(draw); map.addLayer(hc_land); //map.addLayer(hc_landFuther);