无人机管理后台前端(已迁走)
罗广辉
2025-08-25 6f2a3011bd721cee47828393583ad0e0bc18761c
fix: 定位bug修复
1 files modified
10 ■■■■ changed files
src/components/map-container/mapContainer.vue 10 ●●●● patch | view | raw | blame | history
src/components/map-container/mapContainer.vue
@@ -4,9 +4,9 @@
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2025-04-28 11:34:40
 * @FilePath: \drone-web-manage\src\components\map-container\mapContainer.vue
 * @Description:
 *
 * Copyright (c) 2024 by shuishen, All Rights Reserved.
 * @Description:
 *
 * Copyright (c) 2024 by shuishen, All Rights Reserved.
-->
<template>
    <div class="map-container">
@@ -105,7 +105,7 @@
    // 定位到点位
    const points = [[lng, lat]]  // 确保格式为二维数组
    flyVisual(points, viewer, 4)
    flyVisual({ positionsData:points, viewer })
}
/**
@@ -160,4 +160,4 @@
    width: 100%;
    height: 100%;
}
</style>
</style>