forked from MapComplete/MapComplete
Refactoring of AvailableBaseLayer
This commit is contained in:
parent
99512724e0
commit
583d1e137f
5 changed files with 89 additions and 78 deletions
|
@ -341,7 +341,7 @@ export class InitUiElements {
|
|||
|
||||
private static InitBaseMap() {
|
||||
|
||||
State.state.availableBackgroundLayers = new AvailableBaseLayers(State.state.locationControl).availableEditorLayers;
|
||||
State.state.availableBackgroundLayers = AvailableBaseLayers.AvailableLayersAt(State.state.locationControl);
|
||||
|
||||
State.state.backgroundLayer = State.state.backgroundLayerId
|
||||
.map((selectedId: string) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue