派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-21 c8a85fd0941b567b1bc1808a7b5de129bcb734b6
src/conf/Constants.js
@@ -1,18 +1,27 @@
// 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',
  envRiskChart: 'EnvironmentRisk.js'
}
export const STYLES = {
@@ -30,6 +39,7 @@
export const props = {
  code: '编号',
  name: '名称',
  teamname: '名称',
  pfktype: '排放口类型',
  level: '级别',
  length: '长度(m)',