/** * 废水图层 * @type {string} */ const APP_GIS_HOST_2 = 'http://xearth.cn:6289' export const LayerWasteWater = { code: 'pipeline', name: '废水', type: 'geojson', // url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLineTest/wms?version=1.1.1', // url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}', url: APP_GIS_HOST_2 + '/server/ogcserver/PipeLine/wfs?version=1.0.0&TYPENAME={sname}&REQUEST=getfeature&OUTPUTFORMAT=json&maxFeatures=20000', checked: true, layers: [ { code: 'rainline', name: '企业', sname: '企业', // 表名 checked: true, // 默认选中状态 filter: {}, minZoom: 10, // 在指定级别显示 childLayer: 'fsss,hbss' // 关联PointLayers }, { code: 'oilline', name: '监测点', sname: '监测点', checked: true, // 默认选中状态 filter: {}, minZoom: 10, childLayer: 'fsss,hbss' // 关联PointLayers }, { code: 'saltline', name: '排放口', sname: '排放口', checked: true, // 默认选中状态 filter: {}, minZoom: 10, childLayer: 'fsss,hbss' // 关联PointLayers } ] }