From e46c7f58112c13ed09b325bf164f0d2a440f1012 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 13 五月 2021 16:13:17 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/conf/layers/LayerArea.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/conf/layers/LayerArea.js b/src/conf/layers/LayerArea.js index 0ec2ae6..4788af3 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,18 +1,20 @@ /** * 鍖哄煙 */ -import { PIPELINE_WFS } from '../Constants' +import { SERVICE_TYPE, PIPELINE_WFS } from '../Constants' const WFS_URL = PIPELINE_WFS export const LayerArea = { code: 'sewersArea', name: '鍖哄煙淇℃伅', checked: false, + type: 0, layers: [ { code: 'sewersAreaGs', name: '鍏徃', sname: '鍏徃', // 琛ㄥ悕 checked: true, // 榛樿閫変腑鐘舵�� + type: 0, url: WFS_URL + '?TYPENAME=鍏徃' }, { @@ -20,6 +22,7 @@ name: '鐮佸ご', sname: '鐮佸ご', checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=鐮佸ご' }, { @@ -27,7 +30,8 @@ name: '瑁呯疆鍖�', sname: '瑁呯疆鍖�', checked: false, // 榛樿閫変腑鐘舵�� - wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + type: SERVICE_TYPE.WMS, + typeName: 'sewer:unitareaboundary' } ] } -- Gitblit v1.8.0