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/LayerArea.js | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js index ffdbf98..4788af3 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,33 +1,37 @@ /** * 鍖哄煙 */ -import { PIPELINE_WFS } from '../Constants' +import { SERVICE_TYPE, PIPELINE_WFS } from '../Constants' const WFS_URL = PIPELINE_WFS export const LayerArea = { code: 'sewersArea', name: '鍖哄煙淇℃伅', - checked: true, + checked: false, + type: 0, layers: [ { code: 'sewersAreaGs', name: '鍏徃', sname: '鍏徃', // 琛ㄥ悕 checked: true, // 榛樿閫変腑鐘舵�� + type: 0, url: WFS_URL + '?TYPENAME=鍏徃' }, { code: 'sewersAreaMt', name: '鐮佸ご', sname: '鐮佸ご', - checked: true, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { code: 'sewersAreaZz', name: '瑁呯疆鍖�', sname: '瑁呯疆鍖�', - checked: true, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + checked: false, // 榛樿閫変腑鐘舵�� + type: SERVICE_TYPE.WMS, + typeName: 'sewer:unitareaboundary' } ] } -- Gitblit v1.8.0