派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-31 1da76d05ebba28eeebef8af3832680143d5699c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { SERVICE_TYPE } from '../Constants'
 
/**
 * 排口
 */
export const LayerPk = {
  code: 'sewersDischargeport',
  name: '排放口',
  icon: 'sewers/雨水排口.png',
  checked: false,
  type: 0,
  layers: [
    {
      code: 'sewersNpk',
      name: '内排口',
      sname: '内排',
      checked: false,
      type: SERVICE_TYPE.WMS,
      icon: 'sewers/雨水排口.png',
      typeName: 'sewer:dischargeport',
      filter: 'pfktype = \'内排\'',
      minZoom: 10 // 在指定级别显示
    },
    {
      code: 'sewersWpk',
      name: '外排口',
      sname: '外排',
      icon: 'sewers/雨水排口.png',
      checked: false, // 默认选中状态
      type: SERVICE_TYPE.WMS,
      typeName: 'sewer:dischargeport',
      filter: 'pfktype = \'外排\'',
      minZoom: 10
    }
  ]
}