Fix: don't show walls-and-buildings if the layer is disabled

This commit is contained in:
Pieter Vander Vennet 2024-11-28 22:37:46 +01:00
parent 4c36879c46
commit 130ede896c

View file

@ -231,6 +231,12 @@ export default class FilteredLayer {
}
}
}
{
if(!this.isDisplayed.data){
return false
}
}
{
const isShown: TagsFilter = this.layerDef.isShown
if (isShown !== undefined && !isShown.matchesProperties(properties)) {