You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's quite common to show only features of a certian category selected by the user. Technical its possible to use one query for each category or maybe on for all and just show and hide some features by a certain tag.
(I would like to have such an example for fast adapting.)
What do you think is the best way to go?
The text was updated successfully, but these errors were encountered:
I think this could possibly be solved by converting to use geojson as well. There is a filter function when adding geojson-layers that can be used to filter in advance.[1]
It does not enable live filtering though (only ahead of time), but there seem to be workarounds [2]
Or as a last option mapbox.js (which is built on top of leaflet) seems to be able to filter feaure layers (built from geojson) out of the box [3]
It's quite common to show only features of a certian category selected by the user. Technical its possible to use one query for each category or maybe on for all and just show and hide some features by a certain tag.
(I would like to have such an example for fast adapting.)
What do you think is the best way to go?
The text was updated successfully, but these errors were encountered: