|
|
@@ -49,14 +49,18 @@ export default {
|
|
|
id: '1-1',
|
|
|
label: '生态区',
|
|
|
children: [
|
|
|
- { id: '1-1-1', label: '堤防背河坡脚线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/提防背河坡脚线.geojson' } },
|
|
|
- { id: '1-1-2', label: '河道管理范围线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/河道管理范围线.geojson' } },
|
|
|
- { id: '1-1-3', label: '一级管控区界限', meta: { type: 'polyline', url: '/sddnWeihe/geojson/一二级管控区界限.geojson' } },
|
|
|
- { id: '1-1-4', label: '生态区界限', meta: { type: 'polyline', url: '/sddnWeihe/geojson/生态区界限.geojson' } },
|
|
|
+ { id: '1-1-1', label: '兴平市堤防外坡脚线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/兴平市堤防外坡脚线.geojson' } },
|
|
|
+ { id: '1-1-2', label: '兴平市河道管理范围线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/兴平市河道管理范围线.geojson' } },
|
|
|
+ { id: '1-1-3', label: '兴平市一级管控区线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/兴平市一级管控区线.geojson' } },
|
|
|
+ { id: '1-1-4', label: '兴平市生态区界限', meta: { type: 'polyline', url: '/sddnWeihe/geojson/兴平市生态区界线.geojson' } },
|
|
|
{ id: '1-1-5', label: '城市核心区', meta: { type: 'polyline', url: '/sddnWeihe/geojson/城市核心区.geojson' } },
|
|
|
{ id: '1-1-6', label: '农村区段', meta: { type: 'polyline', url: '/sddnWeihe/geojson/农村区段.geojson' } },
|
|
|
- { id: '1-1-8', label: '城市核心区(右岸)', meta: { type: 'polyline', url: '/sddnWeihe/geojson/城市核心区右岸.geojson' } },
|
|
|
- { id: '1-1-9', label: '农村区段(右岸)', meta: { type: 'polyline', url: '/sddnWeihe/geojson/农村区段右岸.geojson' } }
|
|
|
+ { id: '1-1-7', label: '堤防外坡脚线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/堤防外坡脚线.geojson' } },
|
|
|
+ { id: '1-1-8', label: '河道管理范围线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/河道管理范围线.geojson' } },
|
|
|
+ { id: '1-1-9', label: '一级管控区线', meta: { type: 'polyline', url: '/sddnWeihe/geojson/一二级管控区界线.geojson' } },
|
|
|
+ { id: '1-1-10', label: '生态区界限', meta: { type: 'polyline', url: '/sddnWeihe/geojson/生态区界限.geojson' } },
|
|
|
+ { id: '1-1-11', label: '城市核心区(右岸)', meta: { type: 'polyline', url: '/sddnWeihe/geojson/城市核心区右岸.geojson' } },
|
|
|
+ { id: '1-1-12', label: '农村区段(右岸)', meta: { type: 'polyline', url: '/sddnWeihe/geojson/农村区段右岸.geojson' } }
|
|
|
]
|
|
|
},
|
|
|
{ id: '1-2', label: '监测设备', type: 'monitor' },
|
|
|
@@ -65,7 +69,7 @@ export default {
|
|
|
label: '入河排水(污)口',
|
|
|
children: [
|
|
|
{ id: '1-3-1', label: '兴平城市总排口', meta: { type: 'point', url: '/sddnWeihe/geojson/兴平城市总排口.geojson' } },
|
|
|
- { id: '1-3-2', label: '兴包企业集团工业废水排口', meta: { type: 'point', url: '/sddnWeihe/geojson/兴平城市总排口2.geojson' } },
|
|
|
+ { id: '1-3-2', label: '兴包企业集团工业废水排口', meta: { type: 'point', url: '/sddnWeihe/geojson/兴包企业集团工业废水排口.geojson' } },
|
|
|
{ id: '1-3-3', label: '新兴纺织园污水处理厂排口', meta: { type: 'point', url: '/sddnWeihe/geojson/新兴纺织园污水处理厂排口.geojson' } }
|
|
|
]
|
|
|
},
|
|
|
@@ -291,13 +295,13 @@ export default {
|
|
|
},
|
|
|
getStyleByName(name) {
|
|
|
console.info(name)
|
|
|
- if (name === '生态区界限') {
|
|
|
+ if (name === '兴平市生态区界限' || name === '生态区界限' ) {
|
|
|
return { type: 'polyline', styleOptions: { color: '#0c5b0f', width: 2 } }
|
|
|
- } else if (name === '提防背河坡脚线') {
|
|
|
+ } else if (name === '兴平市堤防外坡脚线' || name === '堤防外坡脚线') {
|
|
|
return { type: 'polyline', styleOptions: { color: '#c53632', width: 2 } }
|
|
|
- } else if (name === '河道管理范围线') {
|
|
|
+ } else if (name === '兴平市河道管理范围线' || name === '河道管理范围线') {
|
|
|
return { type: 'polyline', styleOptions: { color: '#12641c', width: 2 } }
|
|
|
- } else if (name === '一级管控区界限') {
|
|
|
+ } else if (name === '兴平市一级管控区线' || name === '一二级管控区线') {
|
|
|
return {
|
|
|
type: 'polyline',
|
|
|
styleOptions: { width: 2, materialType: mars3d.MaterialType.PolylineDash, materialOptions: { color: '#12641c', dashLength: 60 } }
|
|
|
@@ -355,7 +359,7 @@ export default {
|
|
|
return {
|
|
|
type: 'polygon',
|
|
|
styleOptions: {
|
|
|
- label: { text: name, font_size: 14, outline: true, outlineColor: '#000000', outlineWidth: 2 },
|
|
|
+ label: { text: name, font_size: 18, outline: true, outlineColor: '#000000', outlineWidth: 5 },
|
|
|
clampToGround: true,
|
|
|
materialType: this.mars3d.MaterialType.Grid,
|
|
|
materialOptions: { color: '#cc9648', cellAlpha: 0.5 },
|