派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-21 022e02466285107b4d7c47a22d672dbce7a2de29
src/conf/layers/LayerArea.js
@@ -1,8 +1,8 @@
import { SERVICE_TYPE } from '../Constants'
/**
 * 区域
 */
import { SERVICE_TYPE, PIPELINE_WFS } from '../Constants'
const WFS_URL = PIPELINE_WFS
export const LayerArea = {
  code: 'sewersArea',
  name: '区域信息',
@@ -14,8 +14,7 @@
      name: '公司',
      sname: '公司', // 表名
      checked: true, // 默认选中状态
      type: 0,
      url: WFS_URL + '?TYPENAME=公司',
      icon: 'sewers/.png',
      legendImage: '../.././assets/images/map/company_refining.png'
    },
    {
@@ -23,16 +22,17 @@
      name: '码头',
      sname: '码头',
      checked: false, // 默认选中状态
      type: 0,
      wfs: WFS_URL + '?TYPENAME=码头',
      icon: 'sewers/码头.png',
      legendImage: '../.././assets/images/map/sewers/码头.png'
    },
    {
      code: 'sewersAreaZz',
      name: '装置区',
      sname: '装置区',
      checked: false, // 默认选中状态
      type: SERVICE_TYPE.WMS,
      checked: false, // 默认选中状态
      icon: 'sewers/.png',
      index: 1,
      typeName: 'sewer:unitareaboundary'
    }
  ]