forked from MapComplete/MapComplete
Add more background layers, add default background id option in the layout configuration, fix #64, #65
This commit is contained in:
parent
62cc392cfd
commit
66ce783f20
10 changed files with 58 additions and 45 deletions
|
@ -29,7 +29,7 @@ export default class BackgroundSelector extends UIElement {
|
|||
const baseLayers: { value: BaseLayer, shown: string }[] = [];
|
||||
for (const i in available) {
|
||||
const layer: BaseLayer = available[i];
|
||||
baseLayers.push({value: layer.layer, shown: layer.name ?? "id:" + layer.id});
|
||||
baseLayers.push({value: layer, shown: layer.name ?? "id:" + layer.id});
|
||||
}
|
||||
|
||||
this._dropdown = new DropDown(Translations.t.general.backgroundMap, baseLayers, State.state.bm.CurrentLayer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue