From 4fef038c7e4ba6a82b77e9679f58e2f9d8c0711b Mon Sep 17 00:00:00 2001 From: ChenZeping <chenzeping> Date: 星期四, 29 四月 2021 18:54:39 +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 6ba6c53..b16cf81 100644 --- a/src/conf/layers/LayerArea.js +++ b/src/conf/layers/LayerArea.js @@ -1,32 +1,36 @@ /** * 鍖哄煙 */ -const APP_GIS_HOST_2 = 'http://xearth.cn:8088' -const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs' +import { 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, // 榛樿閫変腑鐘舵�� + checked: false, // 榛樿閫変腑鐘舵�� + type: 0, wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' } ] -- Gitblit v1.8.0