From 6752175e5eae4cc52e70c9afe7324d043673d3e0 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 25 Dec 2021 14:19:10 +0800
Subject: [PATCH] +
---
src/store/modules/mobile.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index 5d40b28..6ee208b 100644
--- a/src/store/modules/mobile.js
+++ b/src/store/modules/mobile.js
@@ -280,6 +280,11 @@
state.pointLayer.addOverlay(billboard); //实景
// commit("MSET_OPENPOINTEL", true);
},
+ MSET_LOCKPERSPECTIVEL({ state, commit, dispatch }, val) {
+ //锁定
+ state.mviewer.camera.lookAtTransform(global.DC.Namespace.Cesium.Matrix4.IDENTITY)
+ // console.log(global.DC.Namespace.Cesium.Matrix4.IDENTITY)
+ }
}
}
--
Gitblit v1.9.3