1 parent
d4bc73e32c
commit
c80e8d1c67
2 files changed
+4
-2
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user