派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-29 150a37f948214be4bd183b30f3f2865a6f1c519f
src/conf/layers/LayerPipeLines.js
@@ -11,6 +11,7 @@
  code: 'sewersPipeLines',
  name: '管线',
  checked: false,
  type: 0,
  childLayer: [LayerFsss, LayerHbss],
  layers: [
    {
@@ -18,8 +19,9 @@
      name: '雨水线',
      sname: '管网',
      checked: false,
      type: 0,
      wmsLayers: 'sewer:pipeline_rain',
      // wfs: WFS_URL + '?TYPENAME=管网&FILTER=<Filter xmlns="http://www.opengis.net/ogc"><PropertyIsEqualTo><PropertyName>mediumtype</PropertyName><Literal>雨水管线</Literal></PropertyIsEqualTo></Filter>',
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=linenumtype=\'雨水管线\'',
      icon: 'sewers/雨水线.png',
      color: '#0070ff',
      minZoom: 13,
@@ -33,6 +35,8 @@
      name: '事故水线',
      sname: '事故水',
      checked: false,
      wmsLayers: 'sewer:pipeline_accident',
      type: 0,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=事故水'
    },
@@ -41,9 +45,11 @@
      name: '含油污水线',
      sname: '含油污水',
      checked: false,
      type: 0,
      minZoom: 13,
      color: '#ffaa00',
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=mediumtype=\'含油污水\'',
      wmsLayers: 'sewer:pipeline_sewer',
      // wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=500&outputFormat=application%2Fjson&cql_filter=mediumtype=\'含油污水\'',
      styles: {
        COLOR: '#ffaa00',
        FILL_COLOR: '#ffaa00'
@@ -54,6 +60,7 @@
      name: '含盐污水线',
      sname: '含盐污水',
      checked: false,
      type: 0,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=含盐污水'
    },
@@ -62,6 +69,7 @@
      name: '含碱污水线',
      sname: '含碱污水',
      checked: false,
      type: 0,
      wfs: WFS_URL + '?TYPENAME=含碱污水',
      minZoom: 10
    },
@@ -70,6 +78,7 @@
      name: '生活污水',
      sname: '生活污水',
      checked: false,
      type: 0,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=生活污水'
    },
@@ -78,6 +87,7 @@
      name: '净化水线',
      sname: '净化水',
      checked: false,
      type: 0,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=净化水'
    },
@@ -85,6 +95,7 @@
      code: 'loopline',
      name: '循环水线',
      sname: '循环水',
      type: 0,
      checked: false,
      minZoom: 13,
      wfs: WFS_URL + '?TYPENAME=循环水'
@@ -94,9 +105,10 @@
      name: '生产污水',
      sname: '生产污水',
      checked: false,
      type: 0,
      minZoom: 13,
      color: '#a8a800',
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=mediumtype=\'生产污水\'',
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=500&outputFormat=application%2Fjson&cql_filter=mediumtype=\'生产污水\'',
      styles: {
        COLOR: '#a8a800',
        FILL_COLOR: '#a8a800'