| | |
| | | /** |
| | | * 排口 |
| | | */ |
| | | import MapConfig from '../../conf/MapConfig' |
| | | const WFS_URL = MapConfig.PIPELINE_WFS |
| | | export const LayerPk = { |
| | | code: 'sewersPk', |
| | | name: '排口', |
| | | code: 'sewersDischargeport', |
| | | name: '排放口', |
| | | icon: 'sewers/雨水排口.png', |
| | | checked: true, |
| | | layers: [ |
| | | { |
| | |
| | | name: '内排口', |
| | | sname: '内排口', |
| | | checked: true, |
| | | wfs: WFS_URL + '?TYPENAME=内排口', |
| | | icon: 'sewers/雨水排口.png', |
| | | wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=sewer:dischargeport&maxFeatures=50&outputFormat=application/json&cql_filter=pfktype=\'内排\'', |
| | | minZoom: 10 // 在指定级别显示 |
| | | }, |
| | | { |
| | | code: 'sewersWpk', |
| | | name: '外排口', |
| | | sname: '外排口', |
| | | icon: 'sewers/雨水排口.png', |
| | | checked: true, // 默认选中状态 |
| | | wfs: WFS_URL + '?TYPENAME=外排口', |
| | | wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=sewer:dischargeport&maxFeatures=50&outputFormat=application/json&cql_filter=pfktype=\'外排\'', |
| | | minZoom: 10 |
| | | } |
| | | ] |