From cd5080b2e3d84c274f90bee762348be3f89e3c29 Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期四, 29 五月 2025 18:03:20 +0800
Subject: [PATCH] 修改

---
 src/store/simulation.js |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/store/simulation.js b/src/store/simulation.js
index 56c028e..d5c460d 100644
--- a/src/store/simulation.js
+++ b/src/store/simulation.js
@@ -82,8 +82,25 @@
         }
     }
 
+    const flyToHomeView = () => {
+        const view = {
+            destination: {
+                x: -2355432.569004413,
+                y: 4687573.191838412,
+                z: 4098726.315265574,
+            },
+            orientation: {
+                pitch: -0.9541030830183503,
+                roll: 0.00031421159527500464,
+                heading: 6.140424766644804,
+            },
+        };
+        viewer.scene.camera.flyTo(view);
+    }
+
     const startYHGL = () => {
         init()
+        flyToHomeView()
         locationShow.value = true
     }
 

--
Gitblit v1.9.3