This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user