forked from MapComplete/MapComplete
Refactoring of AvailableBaseLayer
This commit is contained in:
parent
99512724e0
commit
7deb9b5d53
5 changed files with 90 additions and 79 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