From 4597db2e777802b0a6422af3e8f27f13e35fc9c6 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 22 Dec 2021 16:22:09 +0800
Subject: [PATCH] +弹窗位置和飞入视角调整
---
src/store/modules/mobile.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/store/modules/mobile.js b/src/store/modules/mobile.js
index 91e2148..064f3c4 100644
--- a/src/store/modules/mobile.js
+++ b/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
);
--
Gitblit v1.9.3