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