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