【类 型】: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: { paint: {
'line-color': 'purple', 'line-color': 'purple',
'line-width': 1 'line-width': 2
} }
}) })
} }

View File

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