From f6e2c7d08bb4f29f38a77b9f789c6d7a47d5bebe Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期五, 14 五月 2021 11:20:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/conf/layers/LayerSoilGroundWater.js | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/conf/layers/LayerSoilGroundWater.js b/src/conf/layers/LayerSoilGroundWater.js index b042c48..e14d41b 100644 --- a/src/conf/layers/LayerSoilGroundWater.js +++ b/src/conf/layers/LayerSoilGroundWater.js @@ -7,19 +7,23 @@ code: 'sewersSoilGroundWater', name: '鍦熷¥鍙婂湴涓嬫按', checked: false, + type: 0, layers: [ { code: 'soil', name: '鍦熷¥', sname: '鍦熷¥', // 琛ㄥ悕 checked: false, // 榛樿閫変腑鐘舵�� - url: WFS_URL + '?TYPENAME=鍏徃' + type: 0, + url: WFS_URL + '?TYPENAME=鍏徃', + legendImage: '../.././assets/images/map-pages/xljt1.png' }, { code: 'groundWater', name: '鍦颁笅姘�', sname: '鍦颁笅姘�', checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { @@ -27,21 +31,27 @@ name: '涓�绾ч闄╁湴鍧�', sname: '涓�绾ч闄╁湴鍧�', checked: false, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + type: 0, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', + color: 'red' }, { code: 'secondRiskBlock', name: '浜岀骇椋庨櫓鍦板潡', sname: '浜岀骇椋庨櫓鍦板潡', checked: false, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + type: 0, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', + color: 'yellow' }, { code: 'threeRiskBlock', name: '涓夌骇椋庨櫓鍦板潡', sname: '涓夌骇椋庨櫓鍦板潡', checked: false, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + type: 0, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', + color: 'green' } ] } -- Gitblit v1.8.0