forked from MapComplete/MapComplete
Fix: probably fix black area outlines
This commit is contained in:
parent
6e5fcdef20
commit
0bd9e1e667
3 changed files with 9 additions and 8 deletions
|
@ -417,6 +417,7 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap {
|
|||
if (!map.getLayer(addLayerBeforeId)) {
|
||||
addLayerBeforeId = undefined
|
||||
}
|
||||
await this.awaitStyleIsLoaded()
|
||||
if (!map.getSource(background.id)) {
|
||||
map.addSource(background.id, MapLibreAdaptor.prepareWmsSource(background))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue