From b3f8766818e3a8c235b648a7c406353673e76d52 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期六, 08 五月 2021 11:22:35 +0800 Subject: [PATCH] 修改图层点击弹窗开关 --- src/components/LayerController/service/LayerFactory.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/LayerController/service/LayerFactory.js b/src/components/LayerController/service/LayerFactory.js index 57bb1cf..f9810db 100644 --- a/src/components/LayerController/service/LayerFactory.js +++ b/src/components/LayerController/service/LayerFactory.js @@ -17,6 +17,7 @@ this.layersLogic = {} this.minZoomLayers = {} this.wmsLayers = [] + this.clickSwitch = true // 鍥惧眰鐐瑰嚮寮圭獥寮�鍏� } init (layerConfig) { @@ -186,7 +187,7 @@ point = coordinates[parseInt(coordinates.length / 2)][0] break } - window.map.flyTo(point.reverse(), 15) + window.map.flyTo(point.reverse(), 17) code && this.openPopup(code, feature.id) } -- Gitblit v1.8.0