From 2c7b4e1ab35be5f3cd7ef4eb2cb87d8269417fea Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期五, 14 五月 2021 09:47:44 +0800 Subject: [PATCH] 更换内网 --- src/conf/Constants.js | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/conf/Constants.js b/src/conf/Constants.js index e7fcd49..1617d8c 100644 --- a/src/conf/Constants.js +++ b/src/conf/Constants.js @@ -1,18 +1,26 @@ + +// export const PIPELINE_WMS = 'http://xearth.cn:6240/geoserver/sewer/wms' +export const WMS_URL = 'http://10.238.235.179:6240/geoserver/sewer/wms' +export const WFS_URL = 'http://10.238.235.179:6240/geoserver/sewer/ows?service=WFS' + export const GEOM_TYPE = { POINT: 'point', LINE: 'line', 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 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