From f103aecc49072551b251c75c4fac12a65940fd40 Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期六, 06 九月 2025 17:12:31 +0800
Subject: [PATCH] 视锥体

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

diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue
index c9fda67..659c0fd 100644
--- a/src/views/system/project/components/addPorjectDialog.vue
+++ b/src/views/system/project/components/addPorjectDialog.vue
@@ -250,6 +250,8 @@
       this.$emit('close')
     },
     flyToLocal(row){
+
+      console.log(row)
        const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight);
       // rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
       rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
@@ -263,7 +265,7 @@
       );
 
       // 鍔犺浇 glTF 妯″瀷
-      const entity = model({
+      const entity = viewer.entities.add({
         name: row.id,
         position: position,
         orientation: orientation,

--
Gitblit v1.9.3