派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-30 f8865d1c7f36c4ffa66002e0dd3a9d5e99e4fe6b
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,23 +14,25 @@
      name: '公司',
      sname: '公司', // 表名
      checked: true, // 默认选中状态
      type: 0,
      url: WFS_URL + '?TYPENAME=公司'
      icon: 'sewers/.png',
      legendImage: '../.././assets/images/map/company_refining.png'
    },
    {
      code: 'sewersAreaMt',
      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'
    }
  ]