From 23d788fc1e11ee3c012bdad6a5129624566a6a23 Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 14:51:49 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/conf/layers/LayerPlate.js | 70 +++++++++++++++++++++++++++++++++++ src/conf/MapConfig.js | 3 + src/components/helpers/WfsHelper.js | 3 - 3 files changed, 73 insertions(+), 3 deletions(-) diff --git a/src/components/helpers/WfsHelper.js b/src/components/helpers/WfsHelper.js index 2ea5c7e..45cfa17 100644 --- a/src/components/helpers/WfsHelper.js +++ b/src/components/helpers/WfsHelper.js @@ -12,8 +12,7 @@ REQUEST: 'getfeature', OUTPUTFORMAT: 'application/json', maxFeatures: 10, - version: '1.0.0', - startIndex: 0 + version: '1.0.0' } this.setTypeName = (typeName) => { diff --git a/src/conf/MapConfig.js b/src/conf/MapConfig.js index 9004cc8..d41d182 100644 --- a/src/conf/MapConfig.js +++ b/src/conf/MapConfig.js @@ -3,6 +3,7 @@ import { LayerTopic } from './LayerTopic' import { LayerBasin } from './layers/LayerBasin' import { LayerEmergency } from './LayerEmergency' +import { LayerPlate } from './layers/LayerPlate' const curWwwPath = window.document.location.href const pathname = window.document.location.pathname @@ -42,7 +43,7 @@ IntranetBaseMaps: TDT.intranet, InternetBaseMaps: TDT.internet, Layers: { - LayerSewersLine: [LayerBasin, LayerTopic, LayerEmergency] + LayerSewersLine: [LayerBasin, LayerPlate, LayerTopic, LayerEmergency] } // 姹¢洦姘村浘灞傞厤缃� } diff --git a/src/conf/layers/LayerPlate.js b/src/conf/layers/LayerPlate.js new file mode 100644 index 0000000..eb3b404 --- /dev/null +++ b/src/conf/layers/LayerPlate.js @@ -0,0 +1,70 @@ +/** + * 鏉垮潡 + */ +import { PIPELINE_WFS } from '../Constants' +const WFS_URL = PIPELINE_WFS +export const LayerPlate = { + code: 'sewersPlate', + name: '鏉垮潡鍥惧眰', + checked: true, + isShow: true, + type: 2, + layers: [ + { + code: 'plateYt', + name: '娌圭敯', + sname: '娌圭敯', // 琛ㄥ悕 + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + url: WFS_URL + '?TYPENAME=鍏徃' + }, + { + code: 'plateLh', + name: '鐐煎寲', + sname: '鐐煎寲', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=鐮佸ご' + }, + { + code: 'plateXs', + name: '閿�鍞�', + sname: '閿�鍞�', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + }, + { + code: 'plateHg', + name: '鍖栧伐', + sname: '鍖栧伐', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + }, + { + code: 'plateZy', + name: '涓撲笟鍏徃', + sname: '涓撲笟鍏徃绉戠爺鏈烘瀯', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + }, + { + code: 'plateKyjg', + name: '绉戠爺鏈烘瀯', + sname: '绉戠爺鏈烘瀯', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + }, + { + code: 'plateGcdw', + name: '宸ョ▼鍗曚綅', + sname: '宸ョ▼鍗曚綅', + checked: true, // 榛樿閫変腑鐘舵�� + type: 2, + wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�' + } + ] +} -- Gitblit v1.8.0