forked from MapComplete/MapComplete
Fix: don't show walls-and-buildings if the layer is disabled
This commit is contained in:
parent
4c36879c46
commit
130ede896c
1 changed files with 6 additions and 0 deletions
|
@ -231,6 +231,12 @@ export default class FilteredLayer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
if(!this.isDisplayed.data){
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
const isShown: TagsFilter = this.layerDef.isShown
|
const isShown: TagsFilter = this.layerDef.isShown
|
||||||
if (isShown !== undefined && !isShown.matchesProperties(properties)) {
|
if (isShown !== undefined && !isShown.matchesProperties(properties)) {
|
||||||
|
|
Loading…
Reference in a new issue