From 150a37f948214be4bd183b30f3f2865a6f1c519f Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 29 四月 2021 14:16:18 +0800 Subject: [PATCH] 替换wms服务初步 --- src/conf/Constants.js | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/conf/Constants.js b/src/conf/Constants.js index 848d666..e7fcd49 100644 --- a/src/conf/Constants.js +++ b/src/conf/Constants.js @@ -4,17 +4,21 @@ POLYGON: 'polygon' } +export const PIPELINE_WFS = 'http://xearth.cn:8088/server/ogcserver/PipeLine2/wfs' +export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms' + export const logicMapper = { wasteGasPfk: 'WasteGas.js', wasteWaterPfk: 'WasteWater.js', - wasteSolidCcd: 'SolidWaste.js', - sewersAreaGs: 'Company.js' + wasteSolidCcd: 'WasteSolid.js', + sewersAreaGs: 'Company.js', + pipesegment: 'PipeLineAnimal.js' } export const STYLES = { FILL: true, WEIGHT: 3, - FILL_COLOR: '#73b2ff', + FILL_COLOR: '#0070ff', COLOR: '#73b2ff', FILL_OPACITY: 0.2, OPACITY: 1, @@ -24,12 +28,16 @@ } export const props = { + code: '缂栧彿', + name: '鍚嶇О', + pfktype: '鎺掓斁鍙g被鍨�', + level: '绾у埆', + length: '闀垮害(m)', + unitname: '鍗曚綅鍚嶇О', pipename: '绠$嚎鍚嶇О', - pipecode: '绠$嚎缂栫爜', subchaname: '鏀嚎鍚嶇О', subchacode: '鏀嚎缂栫爜', mediumtype: '杈撻�佷粙璐�', - length: '闀垮害(m)', startposname: '璧风偣浣嶇疆鍚嶇О', endposname: '缁堢偣浣嶇疆鍚嶇О', pressureating: '璁捐鍘嬪姏锛圡Pa锛�', @@ -47,8 +55,6 @@ pipetrenchtype: '绠℃矡绫诲瀷', datecollected: '鎺㈡祴鏃堕棿', operationalstatus: '杩愯鐘舵��', - acquisitionpeople: '閲囬泦浜�', - acquisitiondate: '閲囬泦鏃ユ湡', fourtype: '鍥涢�氱被鍨�', fourm: '鍥涢�氭潗鏂�' } -- Gitblit v1.8.0