fix: 注释地图测试
This commit is contained in:
parent
135db364b6
commit
3c81eadf02
@ -24,7 +24,7 @@
|
||||
|
||||
<!-- 右侧地图(主地图 - 灾后场景) -->
|
||||
<div class="situational-awareness__right-map">
|
||||
<MapViewer @tool-change="handleMapToolChange" />
|
||||
<!-- <MapViewer @tool-change="handleMapToolChange" /> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -194,13 +194,13 @@ onMounted(() => {
|
||||
// ...DEFAULT_CAMERA_VIEW,
|
||||
// });
|
||||
camera.flyTo({
|
||||
destination: defaultPoint.position,
|
||||
...DEFAULT_CAMERA_VIEW,
|
||||
duration: 1,
|
||||
});
|
||||
// 延迟 1000ms 后设置相机到默认位置
|
||||
setTimeout(() => {
|
||||
camera.flyTo({
|
||||
destination: defaultPoint.position,
|
||||
...DEFAULT_CAMERA_VIEW,
|
||||
duration: 1,
|
||||
});
|
||||
}, 5000);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user