| | |
| | | /** |
| | | * 区域 |
| | | */ |
| | | import { PIPELINE_WFS } from '../Constants' |
| | | const WFS_URL = PIPELINE_WFS |
| | | import { SERVICE_TYPE } from '../Constants' |
| | | |
| | | export const LayerFsss = { |
| | | code: 'sewersFsss', |
| | | name: '附属设施', |
| | | checked: false, // 默认选中状态 |
| | | layers: [ |
| | | { |
| | | /* { |
| | | code: 'pipeSection', |
| | | name: '管段', |
| | | sname: '管段', |
| | | checked: false, |
| | | minZoom: 15, |
| | | wfs: WFS_URL + '?TYPENAME=管段' |
| | | }, |
| | | wmsLayers: 'sewer:pipesegment' |
| | | // wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipesegment&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=orgname=\'巴陵石化\'' |
| | | }, */ |
| | | { |
| | | code: 'fourlink', |
| | | name: '四通', |
| | | sname: '四通', |
| | | checked: true, |
| | | minZoom: 15, |
| | | wfs: WFS_URL + '?TYPENAME=四通', |
| | | icon: 'sewers/四通.png' |
| | | minZoom: 16, |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:fourlink', |
| | | // wfs: WFS_URL + '?TYPENAME=四通', |
| | | icon: 'sewers/四通.png', |
| | | index: 3 |
| | | }, |
| | | { |
| | | code: 'tee', |
| | | name: '三通', |
| | | sname: '三通', |
| | | checked: false, |
| | | minZoom: 15, |
| | | wfs: WFS_URL + '?TYPENAME=三通', |
| | | icon: 'sewers/三通.png' |
| | | minZoom: 16, |
| | | typeName: 'sewer:tee', |
| | | type: SERVICE_TYPE.WMS, |
| | | // wfs: WFS_URL + '?TYPENAME=三通', |
| | | icon: 'sewers/三通.png', |
| | | index: 3 |
| | | }, |
| | | { |
| | | code: 'piperack', |
| | | name: '管架(墩)', |
| | | sname: 'PipeRack', |
| | | minZoom: 10, |
| | | wfs: WFS_URL + '?TYPENAME=管架', |
| | | minZoom: 16, |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:piperack', |
| | | icon: 'sewers/管架(墩).png', |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'pipegallery', |
| | | name: '管廊(带)', |
| | | sname: 'PipeGallery', |
| | | minZoom: 10, |
| | | wfs: WFS_URL + '?TYPENAME=管廊', |
| | | minZoom: 16, |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:pipegallery', |
| | | icon: 'sewers/管廊.png', |
| | | color: '#828282', |
| | | styles: { |
| | | COLOR: '#828282', |
| | | FILL_COLOR: '#828282' |
| | | }, |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'pipesegment', |
| | | name: '流向', |
| | | sname: 'ywslx', |
| | | url: 'pipesegment', |
| | | type: SERVICE_TYPE.WMS, |
| | | icon: 'sewers/流向.png', |
| | | checked: false |
| | | }, |
| | | { |
| | | code: 'valve', |
| | | name: '阀门', |
| | | minZoom: 10, |
| | | sname: 'valve', |
| | | sname: '阀门', |
| | | checked: false, |
| | | wfs: WFS_URL + '?TYPENAME=阀门', |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:valve', |
| | | // wfs: WFS_URL + '?TYPENAME=阀门', |
| | | icon: 'sewers/阀门.png' |
| | | }, |
| | | { |
| | | code: 'elbow', |
| | | name: '弯头', |
| | | sname: 'Elbow', |
| | | minZoom: 10, |
| | | sname: '弯头', |
| | | minZoom: 16, |
| | | checked: false, |
| | | wfs: WFS_URL + '?TYPENAME=弯头', |
| | | type: SERVICE_TYPE.WMS, |
| | | typeName: 'sewer:elbow', |
| | | // wfs: WFS_URL + '?TYPENAME=弯头', |
| | | icon: 'sewers/弯头.png' |
| | | } |
| | | ] |