Fix initial globe size
All checks were successful
Deploy Spot / deploy (push) Successful in 35s

This commit is contained in:
2026-05-26 18:51:32 +02:00
parent d4bc73e32c
commit c80e8d1c67
2 changed files with 4 additions and 2 deletions

View File

@@ -217,7 +217,6 @@ export default {
//Build map
if(!this.map) this.addMap();
this.updateMapPadding();
setCamera();
//Force wait for load event
await new Promise((resolve) => {
@@ -225,6 +224,9 @@ export default {
else this.map.once('load', resolve);
});
this.map.resize();
setCamera();
//Add content: Base Maps, Tracks, Markers
this.addMapContent();

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB