From f99fd37cdbaaa4f09e5b7383442ee264fd332232 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期六, 08 五月 2021 10:55:37 +0800 Subject: [PATCH] 新增图层点击弹窗开关 --- src/conf/layers/LayerPollutionSources.js | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/conf/layers/LayerPollutionSources.js b/src/conf/layers/LayerPollutionSources.js index 324b69e..2aba1e0 100644 --- a/src/conf/layers/LayerPollutionSources.js +++ b/src/conf/layers/LayerPollutionSources.js @@ -5,13 +5,15 @@ export const LayerPollutionSources = { code: 'pollutionSources', name: '姹℃煋婧�', - checked: true, + checked: false, + type: 0, layers: [ { code: 'pollutionSourcesSczz', name: '鐢熶骇瑁呯疆', sname: '鐢熶骇瑁呯疆', // 琛ㄥ悕 - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, url: 'http://www.baidu.com', // 璇锋眰涓氬姟鏁版嵁鎺ュ彛 minZoom: 10 // 鍦ㄦ寚瀹氱骇鍒樉绀� }, @@ -19,7 +21,8 @@ code: 'pollutionSourcesZlss', name: '娌荤悊璁炬柦', sname: '娌荤悊璁炬柦', // 琛ㄥ悕 - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, url: 'http://www.baidu.com', // 璇锋眰涓氬姟鏁版嵁鎺ュ彛 minZoom: 10 // 鍦ㄦ寚瀹氱骇鍒樉绀� }] -- Gitblit v1.8.0