| | |
| | | import { SERVICE_TYPE } from '../Constants' |
| | | |
| | | /** |
| | | * 区域 |
| | | */ |
| | | 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, // 默认选中状态 |
| | | wfs: WFS_URL + '?TYPENAME=公司', |
| | | minZoom: 10, // 在指定级别显示 |
| | | childLayer: 'fsss,hbss' // 关联PointLayers |
| | | icon: 'sewers/.png', |
| | | 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, // 默认选中状态 |
| | | icon: 'sewers/码头.png', |
| | | legendImage: '../.././assets/images/map/sewers/码头.png' |
| | | }, |
| | | { |
| | | code: 'sewersAreaZz', |
| | | name: '装置区', |
| | | sname: '装置区', |
| | | checked: true, // 默认选中状态 |
| | | wfs: WFS_URL + '?TYPENAME=装置区', |
| | | minZoom: 10 |
| | | type: SERVICE_TYPE.WMS, |
| | | checked: false, // 默认选中状态 |
| | | icon: 'sewers/.png', |
| | | typeName: 'sewer:unitareaboundary' |
| | | } |
| | | ] |
| | | } |