forked from MapComplete/MapComplete
Use layer-<layerid> again as URL parameter
This commit is contained in:
parent
4638f82635
commit
f2042a6db4
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ export default class MapState extends UserRelatedState {
|
||||||
} else if (layer.syncSelection === "global") {
|
} else if (layer.syncSelection === "global") {
|
||||||
isDisplayed = this.getPref("layer-" + layer.id + "-enabled", layer)
|
isDisplayed = this.getPref("layer-" + layer.id + "-enabled", layer)
|
||||||
} else {
|
} else {
|
||||||
isDisplayed = QueryParameters.GetBooleanQueryParameter("layer-" + layer.id + "-enabled",layer.shownByDefault, "Wether or not layer "+layer.id+" is shown")
|
isDisplayed = QueryParameters.GetBooleanQueryParameter("layer-" + layer.id, layer.shownByDefault, "Wether or not layer "+layer.id+" is shown")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue