From d8662fba10c3aab8366f46a216b9c2fc615901d2 Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期五, 18 七月 2025 10:00:23 +0800
Subject: [PATCH] 设备增加海拔字段

---
 src/views/system/project/components/addPorjectDialog.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue
index b0fafb8..d7fdb06 100644
--- a/src/views/system/project/components/addPorjectDialog.vue
+++ b/src/views/system/project/components/addPorjectDialog.vue
@@ -100,7 +100,7 @@
     },
     flyToLocal(row){
       console.log(row)
-       const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.altitude);
+       const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight);
 
       // 璁剧疆妯″瀷鏂瑰悜锛堝彲閫夛級
       const heading = Cesium.Math.toRadians(row.face); // 鏈濅笢鍗楁柟鍚�
@@ -412,6 +412,7 @@
             routePointIndex: routePointList.length,
             longitude: airPoint.longitude,
             latitude: airPoint.latitude,
+            height: airPoint.height,
             isStartAndEndPoint: false,
           });
         });

--
Gitblit v1.9.3