派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-21 4d265afb3419bd5cedc6f31ab78d570f6917b520
src/conf/layers/LayerPipeLines.js
@@ -16,12 +16,13 @@
    {
      code: 'rainline',
      name: '雨水线',
      sname: '管网',
      checked: false,
      sname: '雨水',
      checked: true,
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/雨水线.png',
      legendImage: '../.././assets/images/map/sewers/雨水线.png',
      color: '#0070ff',
      minZoom: 13,
      styles: {
@@ -29,7 +30,7 @@
        FILL_COLOR: '#0070ff'
      },
      filter: 'mediumtype = \'雨水\'',
      index: 1
      index: 20
    },
    {
      code: 'accidentline',
@@ -39,9 +40,16 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/事故水.png',
      minZoom: 13,
      // color: 'rgb(230, 76, 0)',
      color: '#E64C00',
      styles: {
        COLOR: '#E64C00',
        FILL_COLOR: '#E64C00'
      },
      filter: 'mediumtype = \'事故水\'',
      index: 1
      index: 20
    },
    {
      code: 'oilline',
@@ -51,6 +59,7 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/含油污水.png',
      minZoom: 13,
      color: '#ffaa00',
      filter: 'mediumtype = \'含油污水\'',
@@ -58,7 +67,7 @@
        COLOR: '#ffaa00',
        FILL_COLOR: '#ffaa00'
      },
      index: 1
      index: 20
    },
    {
      code: 'saltline',
@@ -68,9 +77,15 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/含盐污水.png',
      minZoom: 13,
      color: '#FF7F7F',
      filter: 'mediumtype = \'含盐污水\'',
      index: 1
      styles: {
        COLOR: '#FF7F7F',
        FILL_COLOR: '#FF7F7F'
      },
      index: 20
    },
    {
      code: 'alkaliline',
@@ -80,9 +95,15 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/含碱污水.png',
      filter: 'mediumtype = \'含碱污水\'',
      minZoom: 10,
      index: 1
      color: '#E8BEFF',
      styles: {
        COLOR: '#E8BEFF',
        FILL_COLOR: '#E8BEFF'
      },
      index: 20
    },
    {
      code: 'sulfurline',
@@ -92,9 +113,15 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/含硫污水.png',
      filter: 'mediumtype = \'含硫污水\'',
      minZoom: 10,
      index: 1
      color: '',
      styles: {
        COLOR: '',
        FILL_COLOR: ''
      },
      index: 20
    },
    {
      code: 'lifeline',
@@ -104,9 +131,15 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/生活污水.png',
      filter: 'mediumtype = \'生活污水\'',
      minZoom: 13,
      index: 1
      color: '#A8A800',
      styles: {
        COLOR: '#A8A800',
        FILL_COLOR: '#A8A800'
      },
      index: 20
    },
    {
      code: 'purifyline',
@@ -116,9 +149,15 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/净化水.png',
      filter: 'mediumtype = \'净化水\'',
      minZoom: 13,
      index: 1
      color: '#55FF00',
      styles: {
        COLOR: '#55FF00',
        FILL_COLOR: '#55FF00'
      },
      index: 20
    },
    {
      code: 'loopline',
@@ -127,10 +166,16 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/循环水.png',
      filter: 'mediumtype = \'循环水\'',
      checked: false,
      minZoom: 13,
      index: 1
      color: '#73FFDF',
      styles: {
        COLOR: '#73FFDF',
        FILL_COLOR: '#73FFDF'
      },
      index: 20
    },
    {
      code: 'buildline',
@@ -140,6 +185,7 @@
      type: SERVICE_TYPE.WMS,
      layerGroup: 'sewer:pipeline_group',
      typeName: 'sewer:pipeline',
      icon: 'sewers/生产污水.png',
      filter: 'mediumtype = \'生产污水\'',
      minZoom: 13,
      color: '#a8a800',
@@ -147,7 +193,7 @@
        COLOR: '#a8a800',
        FILL_COLOR: '#a8a800'
      },
      index: 1
      index: 20
    }
  ]
}