This commit is contained in:
Pieter Vander Vennet 2024-05-23 14:32:53 +02:00
parent 59a661189e
commit a505fe1ca2

View file

@ -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
}