/** * 企业应急 */ import { LayerHbss } from './LayerHbss' import { LayerFsss } from './LayerFsss' import { PIPELINE_WFS } from '../Constants' const WFS_URL = PIPELINE_WFS export const LayerEntEmer = { code: 'reportEntemeage', name: '企业应急', checked: false, type: 0, childLayer: [LayerFsss, LayerHbss], layers: [ { code: 'rainline', name: '基础图层', sname: '管网', checked: false, type: 0, wmsLayers: 'sewer:pipeline_rain', // wfs: WFS_URL + '?TYPENAME=管网&FILTER=mediumtype雨水管线', icon: 'sewers/雨水线.png', color: '#0070ff', minZoom: 13, styles: { COLOR: '#0070ff', FILL_COLOR: '#0070ff' } }, { code: 'accidentline', name: '在线监测', sname: '事故水', checked: false, // wmsLayers: 'sewer:pipeline_accident', type: 0, minZoom: 13, wfs: WFS_URL + '?TYPENAME=事故水' }, { code: 'oilline', name: '应急资源', sname: '含油污水', checked: false, type: 0, minZoom: 13, color: '#ffaa00', wmsLayers: 'sewer:pipeline_sewer', // wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=500&outputFormat=application%2Fjson&cql_filter=mediumtype=\'含油污水\'', styles: { COLOR: '#ffaa00', FILL_COLOR: '#ffaa00' } }, { code: 'oil', name: '周边环境', sname: '含油污水', checked: false, type: 0, minZoom: 13, color: '#ffaa00', wmsLayers: 'sewer:pipeline_sewer', // wfs: 'http://xearth.cn:6240/geoserver/sewer/wfs?typeName=sewer:pipeline&maxFeatures=500&outputFormat=application%2Fjson&cql_filter=mediumtype=\'含油污水\'', styles: { COLOR: '#ffaa00', FILL_COLOR: '#ffaa00' } } ] }