shuishen
2021-12-22 96798d1618a2dc167e28690b3f4c13fb5c0c4911
Merge branch 'master' of http://192.168.0.105:10010/r/school-web
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
            );