派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-13 58610182c816673867a30966b08b44cd9a26710c
src/conf/layers/LayerPk.js
@@ -1,3 +1,5 @@
import { SERVICE_TYPE } from '../Constants'
/**
 * 排口
 */
@@ -13,9 +15,9 @@
      name: '内排口',
      sname: '内排口',
      checked: true,
      type: 0,
      type: SERVICE_TYPE.WMS,
      icon: 'sewers/雨水排口.png',
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=sewer:dischargeport&maxFeatures=50&outputFormat=application/json&cql_filter=pfktype=\'内排\'',
      typeName: 'sewer:dischargeport',
      minZoom: 10 // 在指定级别显示
    },
    {
@@ -24,8 +26,8 @@
      sname: '外排口',
      icon: 'sewers/雨水排口.png',
      checked: true, // 默认选中状态
      type: 0,
      wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=sewer:dischargeport&maxFeatures=50&outputFormat=application/json&cql_filter=pfktype=\'外排\'',
      type: SERVICE_TYPE.WMS,
      typeName: 'sewer:dischargeport',
      minZoom: 10
    }
  ]