指定相机初始位置,优化科考轨迹列表显示效果。
This commit is contained in:
parent
54c0b11ab2
commit
9463c42e59
|
|
@ -448,6 +448,11 @@ export default {
|
|||
this.viewer.scene.globe.showGroundAtmosphere = false
|
||||
this.viewer.scene.postProcessStages.fxaa.enabled = true
|
||||
|
||||
this.viewer.camera.setView({
|
||||
// 指定相机初始位置
|
||||
destination: Cesium.Cartesian3.fromDegrees(110, 18, 10000000)
|
||||
});
|
||||
|
||||
// 不显示底图
|
||||
this.viewer.imageryLayers.get(0).show = false
|
||||
|
||||
|
|
|
|||
|
|
@ -372,6 +372,11 @@ export default {
|
|||
this.viewer.scene.globe.showGroundAtmosphere = false
|
||||
this.viewer.scene.postProcessStages.fxaa.enabled = true
|
||||
|
||||
this.viewer.camera.setView({
|
||||
// 指定相机初始位置
|
||||
destination: Cesium.Cartesian3.fromDegrees(110, 18, 10000000)
|
||||
});
|
||||
|
||||
// 改写 Cesium 原生鼠标滚轮事件,地图缩放改为按下 Ctrl + 鼠标滚轮
|
||||
modifyCesiumMouseWheel(this.viewer);
|
||||
|
||||
|
|
@ -676,7 +681,7 @@ export default {
|
|||
.guiji {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 70px 0;
|
||||
margin: 50px 0;
|
||||
margin-bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -700,12 +705,15 @@ export default {
|
|||
position: relative;
|
||||
width: 100%;
|
||||
height: 800px;
|
||||
display: flex;
|
||||
/* 导航列表居中显示 */
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.daohang {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 25%;
|
||||
width: 50%;
|
||||
top: 20px;
|
||||
max-width: 50%;
|
||||
height: 60px;
|
||||
background: rgba($color: #000, $alpha: 0.7);
|
||||
border-radius: 10px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue