forked from MapComplete/MapComplete
Include route=foot in trails
This commit is contained in:
parent
b61c0a1180
commit
791c6c4f55
5 changed files with 34 additions and 8 deletions
|
@ -82,7 +82,7 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti
|
|||
}
|
||||
}
|
||||
|
||||
const tagsFilter = Array.from(layer.appliedFilters.data.values());
|
||||
const tagsFilter = Array.from(layer.appliedFilters?.data?.values() ?? []);
|
||||
for (const filter of tagsFilter ?? []) {
|
||||
const neededTags : TagsFilter = filter?.currentFilter
|
||||
if (neededTags !== undefined && !neededTags.matchesProperties(f.feature.properties)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue