| | |
| | | fillColor: '#06cccc', |
| | | color: '#06cccc', |
| | | fillOpacity: 0.2, |
| | | opacity: 0.8, |
| | | dashArray: '10,4', |
| | | dashSpeed: -10 |
| | | opacity: 0.8 |
| | | // , |
| | | // dashArray: '10,4', |
| | | // dashSpeed: -10 |
| | | } |
| | | }, |
| | | minZoom: 10 |
| | |
| | | import { GEOM_TYPE } from './Constants' |
| | | // const APP_GIS_HOST_2 = 'http://xearth.cn:6230' |
| | | const APP_GIS_HOST_2 = 'http://localhost:3000' |
| | | // const APP_GIS_HOST_2 = 'http://localhost:3000' |
| | | const APP_GIS_HOST_2 = 'http://192.168.31.226:8088' |
| | | export const LayerSewersLine = { |
| | | code: 'pipeline', |
| | | name: '管网数据', |
| | | type: 'geojson', |
| | | // url: APP_GIS_HOST_PIPELINE + '/server/ogcserver/PipeLineTest/wms?version=1.1.1', |
| | | url: APP_GIS_HOST_2 + '/layer/findLayer?layerName={sname}', |
| | | // 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: 'pipeline', // 表名 |
| | | sname: '管网', // 表名 |
| | | checked: true, // 默认选中状态 |
| | | filter: {}, |
| | | zoom: 10, // 在指定级别显示 |