From 81f54040c2cb65537c6c6e1db8358a39a57dea0d Mon Sep 17 00:00:00 2001
From: mayisheng <admin>
Date: Mon, 15 Aug 2022 16:14:01 +0800
Subject: [PATCH] 1
---
src/components/mobileCortrolButtom/index.vue | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/components/mobileCortrolButtom/index.vue b/src/components/mobileCortrolButtom/index.vue
index c26b9a2..eae6549 100644
--- a/src/components/mobileCortrolButtom/index.vue
+++ b/src/components/mobileCortrolButtom/index.vue
@@ -67,6 +67,7 @@
]
}
},
+ props: ['mapCenter', 'frislayertHeight'],
computed: {
...mapGetters([
'openmobileGoTo',
@@ -83,7 +84,7 @@
openOurSee () {
this.$store.commit(
'MSET_OPENMOBILEPANORAMA',
- 'http://vr.jxpskj.com/lxxqw/'
+ 'http://vr.jxpskj.com/JXSFKZQJ/QJ/'
)
},
goOns () {
@@ -126,7 +127,22 @@
// }
// return;
// }
- window.startPointFn()
+ var that = this
+
+ global.viewer.flyToPosition(
+ new global.DC.Position(
+ that.mapCenter[0],
+ that.mapCenter[1],
+ that.frislayertHeight,
+ that.dimensionData.heading,
+ that.dimensionData.pitch,
+ that.dimensionData.roll
+ ),
+ () => {
+
+ },
+ 0
+ )
},
openActivity () {
const d = {
--
Gitblit v1.9.3