3310d0c14c90c4fd23360113449503b0d2dde75b..75ca0722b86e7751202e7aec2e8d8ef96d68ce98
2021-12-22 liuyg
Merge branch 'master' of http://192.168.0.105:10010/r/school-web
75ca07 diff | tree
2021-12-22 liuyg
+弹窗位置和飞入视角调整
4597db diff | tree
1 files modified
12 ■■■■ changed files
src/store/modules/mobile.js 12 ●●●● patch | view | raw | blame | history
src/store/modules/mobile.js
@@ -93,7 +93,7 @@
                var ellipsoid = state.mviewer.scene.globe.ellipsoid;
                var cartographic = global.DC.Namespace.Cesium.Cartographic.fromDegrees(
                    data.lntLat[0],
                    data.lntLat[1] - 0.00006,
                    data.lntLat[1] - 0.00048,
                    "90.648862227"
                );
                data.position = ellipsoid.cartographicToCartesian(cartographic);
@@ -117,15 +117,15 @@
            //基于高度基础设置
            // h:1530
            // lnt: + 0.01187 x轴
            // Lat: - 0.0108 y轴
            // lnt: + 0.01187 x轴 大是向左
            // Lat: - 0.0108 y轴 减是上
            // h:4000
            // lnt: + 0.01187 x轴
            // Lat: - 0.0308y轴
            let Position = new global.DC.Position(//转坐标
                +data.lntLat[0] + 0.01187,
                +data.lntLat[1] - 0.0108,
                1530,
                +data.lntLat[0] + 0.01197,
                +data.lntLat[1] - 0.0021,
                330,
                0,
                -45
            );