派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-18 7f6291e80073c0c29f9d24bfdd3ac2602a059e70
src/conf/layers/LayerArea.js
@@ -1,8 +1,6 @@
/**
 * 区域
 */
import { SERVICE_TYPE, PIPELINE_WFS } from '../Constants'
const WFS_URL = PIPELINE_WFS
export const LayerArea = {
  code: 'sewersArea',
  name: '区域信息',
@@ -15,7 +13,8 @@
      sname: '公司', // 表名
      checked: true, // 默认选中状态
      type: 0,
      url: WFS_URL + '?TYPENAME=公司'
      icon: 'sewers/公司.png',
      legendImage: '../.././assets/images/map/company_refining.png'
    },
    {
      code: 'sewersAreaMt',
@@ -23,14 +22,15 @@
      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,
      icon: 'sewers/装置区.png',
      typeName: 'sewer:unitareaboundary'
    }
  ]