src/components/map/viewer.vue
@@ -124,7 +124,7 @@ }, duration: 10, //飞行时间8s }); }, 9000); }, `9000`); that.setCesiumInit(true); // rpc.initRpc(); } @@ -141,9 +141,10 @@ //地下模式距离参数 Viewer.scene.globe.translucency.frontFaceAlpha = 0.5; Viewer.scene.globe.undergroundColor = undefined; mapMsg.init(); rpc.clickToCoordinates(); mapMsg.setTime(); //标会编辑 sgworld.Creator.SimpleGraphic.setEdit(true, { editProp: true, @@ -353,12 +354,14 @@ border-radius: 10px; cursor: pointer; } .bgbox { position: absolute; top: 0; left: 8px; z-index: -1; } .mid { position: absolute; top: 50%;