umap
umap copied to clipboard
When filtering elements hide layer names that don't return a value
Is your feature request related to a problem? Please describe.
When filtering features all layer names in the project are still displayed, including the layer names that don't return a value. In my opnion this clutters up the result list and makes it harder to find the layers that have a result. This is especially true when using a small screen.
See example:
Describe the solution you'd like
When filtering features I would like to only get shown the layer name that actually returns a value.
Makes sense!
But I'd find a way to make clear that there are hidden layers due to filtering. Maybe we should have something like "Show filtered layers" ? @Aurelie-Jallut, any clue ?
When you start entering something in the filter bar (ex "br"), it seems logical to me that you should only see layers or objects with br in the title).
@yohanboniface What's the point of displaying layers that don't match what I'm looking for?
That's not exactly the point: when filtering with "br" we filter features (points, lines, etc.). The point here is to hide the layers for which no feature match the filter.
I am confused as well as to how the Filter feature should be used. For example, I have a long list of layers on this map:
https://umap.openstreetmap.fr/en/map/rideshare-public_789193#8/44.686/-72.892
I am using this map to become some sort of list of all the motorcycle rides I have recorded over the years.
I was expecting the filtering function to let me filter layers, so I could type in something like 2023 or 2024 and it woud only list the layers that contained the string '2024' or '2023'. The results I get now are not intuitive for me: I don't know what the filter actuall searches for. See image: