|
|
@@ -84,8 +84,8 @@ export default {
|
|
|
id: '2',
|
|
|
label: '水文监测',
|
|
|
children: [
|
|
|
- { id: '2-1', label: '水文监测点1', meta: { type: 'point', url: '/sddnWeihe/geojson/sw1.geojson' } },
|
|
|
- { id: '2-2', label: '水文监测点2', meta: { type: 'point', url: '/sddnWeihe/geojson/sw2.geojson' } }
|
|
|
+ { id: '2-1', label: '连霍高速G30与河堤路交接桥站', meta: { type: 'point', url: '/sddnWeihe/geojson/sw1.geojson' } },
|
|
|
+ { id: '2-2', label: '兴武排洪渠与河堤路交界站', meta: { type: 'point', url: '/sddnWeihe/geojson/sw2.geojson' } }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -290,6 +290,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
getStyleByName(name) {
|
|
|
+ console.info(name)
|
|
|
if (name === '生态区界限') {
|
|
|
return { type: 'polyline', styleOptions: { color: '#0c5b0f', width: 2 } }
|
|
|
} else if (name === '提防背河坡脚线') {
|
|
|
@@ -323,7 +324,7 @@ export default {
|
|
|
outlineColor: '#57e0a9'
|
|
|
}
|
|
|
}
|
|
|
- } else if (name.indexOf('水文') > -1) {
|
|
|
+ } else if (name === '连霍高速G30与河堤路交接桥站' || name === '兴武排洪渠与河堤路交界站') {
|
|
|
const ptStyle = this.getPointStyle(name)
|
|
|
return {
|
|
|
type: 'billboard',
|