From 672f791281b80a61dbda7d2c2d426dd90b31b982 Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 16:42:23 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/conf/layers/LayerSoilGroundWater.js | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/conf/layers/LayerSoilGroundWater.js b/src/conf/layers/LayerSoilGroundWater.js index d8cf89f..4177d22 100644 --- a/src/conf/layers/LayerSoilGroundWater.js +++ b/src/conf/layers/LayerSoilGroundWater.js @@ -1,52 +1,56 @@ /** * 鍦熷¥鍙婂湴涓嬫按 */ -import MapConfig from '../../conf/MapConfig' -const WFS_URL = MapConfig.PIPELINE_WFS +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = PIPELINE_WFS export const LayerSoilGroundWater = { code: 'sewersSoilGroundWater', name: '鍦熷¥鍙婂湴涓嬫按', - checked: true, + checked: false, + type: 0, layers: [ { code: 'soil', name: '鍦熷¥', sname: '鍦熷¥', // 琛ㄥ悕 - checked: true, // 榛樿閫変腑鐘舵�� - url: WFS_URL + '?TYPENAME=鍏徃', - minZoom: 10 + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, + url: WFS_URL + '?TYPENAME=鍏徃' }, { code: 'groundWater', name: '鍦颁笅姘�', sname: '鍦颁笅姘�', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=鐮佸ご', - minZoom: 10 + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, + wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { code: 'firstRiskBlock', name: '涓�绾ч闄╁湴鍧�', sname: '涓�绾ч闄╁湴鍧�', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', - minZoom: 10 + color: 'red' }, { code: 'secondRiskBlock', name: '浜岀骇椋庨櫓鍦板潡', sname: '浜岀骇椋庨櫓鍦板潡', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', - minZoom: 10 + color: 'yellow' }, { code: 'threeRiskBlock', name: '涓夌骇椋庨櫓鍦板潡', sname: '涓夌骇椋庨櫓鍦板潡', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�', - minZoom: 10 + color: 'green' } ] } -- Gitblit v1.8.0