From a0792f6d3b636590feed7b1cac99c06a02ecf37a Mon Sep 17 00:00:00 2001 From: ChenZeping02609 <chenzeping02609@163.com> Date: 星期四, 13 五月 2021 18:39:05 +0800 Subject: [PATCH] 企业应急 资源查询修改 --- src/conf/Constants.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/conf/Constants.js b/src/conf/Constants.js index 8384fca..4b29334 100644 --- a/src/conf/Constants.js +++ b/src/conf/Constants.js @@ -1,17 +1,25 @@ +export const WFS_URL = 'http://xearth.cn:6240/geoserver/sewer/ows?service=WFS' +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 GEOM_TYPE = { POINT: 'point', LINE: 'line', POLYGON: 'polygon' } -export const PIPELINE_WFS = 'http://xearth.cn:8088/server/ogcserver/PipeLine2/wfs' +export const SERVICE_TYPE = { + WFS: 'wfs', + WMS: 'wms' +} export const logicMapper = { wasteGasPfk: 'WasteGas.js', wasteWaterPfk: 'WasteWater.js', wasteSolidCcd: 'WasteSolid.js', sewersAreaGs: 'Company.js', - pipesegment: 'PipeLineAnimal.js' + pipesegment: 'PipeLineAnimal.js', + pollutionSources: 'SourcesPollution.js' } export const STYLES = { -- Gitblit v1.8.0