派生自 wuyushui/SewerAndRainNetwork

wangqi
2021-04-16 b0cb4ea7d287fffe598b42f189e6d6e6f06f3d40
src/conf/layers/LayerPipeLines.js
@@ -4,28 +4,29 @@
import { LayerHbss } from './LayerHbss'
import { LayerFsss } from './LayerFsss'
import MapConfig from '../../conf/MapConfig'
const WFS_URL = MapConfig.PIPELINE_WFS
import { PIPELINE_WFS } from '../Constants'
const WFS_URL = PIPELINE_WFS
export const LayerPipeLines = {
  code: 'sewersPipeLines',
  name: '管线',
  checked: true,
  checked: false,
  childLayer: [LayerFsss, LayerHbss],
  layers: [
    {
      code: 'rainline',
      name: '雨水线',
      sname: '雨水线',
      checked: true,
      sname: '管网',
      checked: false,
      wfs: WFS_URL + '?TYPENAME=管网',
      minZoom: 10
      minZoom: 10,
      icon: 'sewers/雨水线.png'
    },
    {
      code: 'accidentline',
      name: '事故水线',
      sname: '事故水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=事故水',
      minZoom: 10
    },
@@ -33,7 +34,7 @@
      code: 'oilline',
      name: '含油污水线',
      sname: '含油污水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=含油污水',
      minZoom: 10
    },
@@ -41,7 +42,7 @@
      code: 'saltline',
      name: '含盐污水线',
      sname: '含盐污水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=含盐污水',
      minZoom: 10
    },
@@ -49,7 +50,7 @@
      code: 'alkaliline',
      name: '含碱污水线',
      sname: '含碱污水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=含碱污水',
      minZoom: 10
    },
@@ -57,7 +58,7 @@
      code: 'lifeline',
      name: '生活污水',
      sname: '生活污水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=生活污水',
      minZoom: 10
    },
@@ -65,7 +66,7 @@
      code: 'purifyline',
      name: '净化水线',
      sname: '净化水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=净化水',
      minZoom: 10
    },
@@ -73,7 +74,7 @@
      code: 'loopline',
      name: '循环水线',
      sname: '循环水',
      checked: true, // 默认选中状态
      checked: false,
      wfs: WFS_URL + '?TYPENAME=循环水',
      minZoom: 10
    }