【类 型】:factor 飞机的轨迹 线条加粗到2

【原  因】:太细看不清
【过  程】:
【影  响】:
This commit is contained in:
szdot 2024-07-25 01:05:28 +08:00
parent 2c7bae44a0
commit 53d54d110d
2 changed files with 17 additions and 11 deletions

View File

@ -426,7 +426,7 @@ export default {
},
paint: {
'line-color': 'purple',
'line-width': 1
'line-width': 2
}
})
}

View File

@ -62,6 +62,7 @@ export default {
* @description: 创建飞机图标
*/
makePlane (plane) {
console.log('hi')
let planeDefaultLngLat
if (localStorage.getItem(plane.name)) { //
planeDefaultLngLat = JSON.parse(localStorage.getItem(plane.name))
@ -128,19 +129,24 @@ export default {
}
},
deep: true
},
}
/**
* @description: 侧边栏缩进有变化时 地图重新自适应
*/
isCollapse: {
handler (val) {
if (val) {
setTimeout(() => {
this.mapBoxKey++ // mapBoxKeymap-box
}, 500)
}
}
}
// isCollapse: {
// handler (val) {
// if (val) {
// setTimeout(() => {
// this.mapBoxKey++ // mapBoxKeymap-box
// }, 500)
// setTimeout(() => {
// if (this.plane) {
// this.makePlane(this.plane) //
// }
// }, 1500)
// }
// }
// }
}
}
</script>