派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-05-14 4cffa15b0abf94067938db9694a08e2c7bfadf3d
src/conf/layers/LayerArea.js
@@ -1,38 +1,34 @@
/**
 * 区域
 */
const APP_GIS_HOST_2 = 'http://xearth.cn:8088'
const WFS_URL = APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs'
export const LayerArea = {
  code: 'sewersArea',
  name: '区域信息',
  checked: true,
  checked: false,
  type: 0,
  layers: [
    {
      code: 'sewersAreaGs',
      name: '公司',
      sname: '公司', // 表名
      checked: true, // 默认选中状态
      url: WFS_URL + '?TYPENAME=公司',
      minZoom: 10, // 在指定级别显示
      childLayer: 'fsss,hbss' // 关联PointLayers
      type: 0,
      legendImage: '../.././assets/images/map/company_refining.png'
    },
    {
      code: 'sewersAreaMt',
      name: '码头',
      sname: '码头',
      checked: true, // 默认选中状态
      wfs: WFS_URL + '?TYPENAME=码头',
      minZoom: 10,
      childLayer: 'fsss,hbss' // 关联PointLayers
      checked: false, // 默认选中状态
      type: 0,
      legendImage: '../.././assets/images/map/sewers/码头.png'
    },
    {
      code: 'sewersAreaZz',
      name: '装置区',
      sname: '装置区',
      checked: true, // 默认选中状态
      wfs: WFS_URL + '?TYPENAME=装置区',
      minZoom: 10
      checked: false, // 默认选中状态
      typeName: 'sewer:unitareaboundary'
    }
  ]
}