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