forked from MapComplete/MapComplete
Refactoring: fix background layer switch and hotkeys
This commit is contained in:
parent
c2b9a81c51
commit
23b26c4197
5 changed files with 44 additions and 64 deletions
|
@ -343,7 +343,7 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap {
|
|||
// already the correct background layer, nothing to do
|
||||
return
|
||||
}
|
||||
await this.awaitStyleIsLoaded()
|
||||
// await this.awaitStyleIsLoaded()
|
||||
|
||||
if (background !== this.rasterLayer?.data?.properties) {
|
||||
// User selected another background in the meantime... abort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue