+
liuyg
2022-01-08 f25852bc9a0b9766885f84571e6353e2edd7f5eb
src/store/modules/mobile.js
@@ -321,6 +321,7 @@
        0,
        state.dimensionData.pitch
      );
      // console.log(state.dimension);
      if (state.dimension != "2.5D") {
        // if (true) {
        dispatch("mapFlyTo", {
@@ -331,7 +332,6 @@
          roll: Position.roll,
        });
      } else {
        // console.log(17878);
        state.mviewer.camera.setView({
          // Cesium的坐标是以地心为原点,一向指向南美洲,一向指向亚洲,一向指向北极州
          // fromDegrees()方法,将经纬度和高程转换为世界坐标
@@ -353,8 +353,7 @@
            roll: Position.roll,
          },
        });
        !state.MobileWindowsHide || commit("MSET_MOBILEWINDOWSHIDE", false); // 显示弹窗
        commit("MSET_MOBILEWINDOWSHIDE", false); // 显示弹窗
      }
      // })
      commit("MSET_POPUPDOM", popupsDom);