From e97a404960da3964475aebbef4ff069be2e4ccfc Mon Sep 17 00:00:00 2001
From: ChenZeping02609 <chenzeping02609@163.com>
Date: 星期三, 12 五月 2021 17:54:29 +0800
Subject: [PATCH] 修改问题,污染源

---
 src/conf/Constants.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/conf/Constants.js b/src/conf/Constants.js
index 8384fca..1eb2734 100644
--- a/src/conf/Constants.js
+++ b/src/conf/Constants.js
@@ -4,14 +4,22 @@
   POLYGON: 'polygon'
 }
 
+export const SERVICE_TYPE = {
+  WFS: 'wfs',
+  WMS: 'wms'
+}
+
+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 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