liuyg
2022-01-04 f5b79b2aca3a4c70e4fdd9f8541d2ef833912ed0
+切换2.5  3 d
关闭弹窗
1 files modified
6 ■■■■■ changed files
src/store/modules/mobile.js 6 ●●●●● patch | view | raw | blame | history
src/store/modules/mobile.js
@@ -110,6 +110,8 @@
    // },
    //切换2D和2.5D
    MSET_DIMENSION(state, data) {
      //关闭弹窗
      //3d,2.5d转换事件
      state.dimension = data;
      if (data == "3D") {
@@ -193,8 +195,6 @@
    },
    setMobileWindows({ state, commit, dispatch }, data) {
      // 打开随地图移动窗口
      // 关闭前一个弹窗?
      dispatch("closeMobileWindowsDom");
      let clas, Flys;
      const nowHeight = Math.ceil(
        state.mviewer.camera.positionCartographic.height
@@ -440,6 +440,8 @@
      // console.log(global.DC.Namespace.Cesium.Matrix4.IDENTITY)
    },
    MSET_DIMENSIONS({ state, commit, dispatch }, val) {
      //关闭弹窗
      dispatch("closeMobileWindowsDom");
      //3d,2.5d转换事件
      commit("MSET_DIMENSION", val);
      //控制高度