Fix: dynamic filtering with non-string values

This commit is contained in:
Pieter Vander Vennet 2023-06-08 13:34:25 +02:00
parent 44b919fec0
commit 58b94c38e5
4 changed files with 42 additions and 34 deletions

View file

@ -180,7 +180,10 @@ export default class FilteredLayer {
}
/**
* Returns true if the given tags match the current filters (and the specified 'global filters')
* Returns true if the given tags match
* - the current filters
* - the specified 'global filters'
* - the 'isShown'-filter set by the layer
*/
public isShown(properties: Record<string, string>, globalFilters?: GlobalFilter[]): boolean {
if (properties._deleted === "yes") {