From 72002c71e77a75be680a4d11d7c72bb5e09554a3 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期一, 10 五月 2021 17:21:42 +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