forked from MapComplete/MapComplete
Add switch to disable all layers by default
This commit is contained in:
parent
5628e66dce
commit
de9691e723
4 changed files with 18 additions and 7 deletions
|
@ -202,7 +202,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
|||
)
|
||||
|
||||
const self = this
|
||||
this.layerState = new LayerState(this.osmConnection, layout.layers, layout.id)
|
||||
this.layerState = new LayerState(this.osmConnection, layout.layers, layout.id, this.featureSwitches.featureSwitchLayerDefault)
|
||||
|
||||
{
|
||||
const overlayLayerStates = new Map<string, { isDisplayed: UIEventSource<boolean> }>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue