From 334ee90a1a392217c4fc82ba066c40686e069890 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期二, 03 六月 2025 09:41:03 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/NslWeb --- 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