forked from MapComplete/MapComplete
Fix: dynamic filtering with non-string values
This commit is contained in:
parent
44b919fec0
commit
58b94c38e5
4 changed files with 42 additions and 34 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue