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
Is your feature request related to a problem? Please describe.
I'm using clustering on a GeoJSON source. Until recently it was very hard to filter a cluster layer.
But now Mapbox included filtering the source before clustering:
Right now I can filter the GeoJSON source on the initial load, like: <Source id='points' type='geojson' data={data} filter={['==', 'foo', 'bar']} />
Describe the solution you'd like
Is there a way to make the filter dynamic?
I need to change the filter all the time. Not only when the source is initialized.
Can it be included in the filter component? Like: <Filter sourceId='points' filter={['==', 'foo', 'bar']} />
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm using clustering on a GeoJSON source. Until recently it was very hard to filter a cluster layer.
But now Mapbox included filtering the source before clustering:
Right now I can filter the GeoJSON source on the initial load, like:
<Source id='points' type='geojson' data={data} filter={['==', 'foo', 'bar']} />
Describe the solution you'd like
Is there a way to make the filter dynamic?
I need to change the filter all the time. Not only when the source is initialized.
Can it be included in the filter component? Like:
<Filter sourceId='points' filter={['==', 'foo', 'bar']} />
The text was updated successfully, but these errors were encountered: