Fix #1959
This commit is contained in:
parent
59a661189e
commit
a505fe1ca2
1 changed files with 3 additions and 1 deletions
|
@ -315,9 +315,11 @@ export default class LayoutConfig implements LayoutInformation {
|
|||
continue
|
||||
}
|
||||
if (layer.source.osmTags.matchesProperties(tags)) {
|
||||
if(!layer.isShown || layer.isShown.matchesProperties(tags)){// https://github.com/pietervdvn/MapComplete/issues/1959
|
||||
return layer
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log("Fallthrough", this, tags)
|
||||
return undefined
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue