forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
330930d5d4
77 changed files with 2462 additions and 581 deletions
|
@ -435,10 +435,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) => {
|
||||
if (selectedId === undefined) {
|
||||
|
@ -545,6 +542,7 @@ export class InitUiElements {
|
|||
state.selectedElement
|
||||
);
|
||||
|
||||
State.state.featurePipeline = source;
|
||||
new ShowDataLayer(
|
||||
source.features,
|
||||
State.state.leafletMap,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue