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
The mapbox gl js supports filtering data before cluster processing on the source. This should be supported in the React native implementation as well via the ShapeSource component.
This would be very useful to off-load the data processing from the react javascript thread. With large data sets it is right now not optimal to first download the geoJson, then parse it in the react component and filter away the data you dont want to cluster before adding the data via the data prop.
Being able to filter it at this level would be very beneficial
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The mapbox gl js supports filtering data before cluster processing on the source. This should be supported in the React native implementation as well via the ShapeSource component.
This would be very useful to off-load the data processing from the react javascript thread. With large data sets it is right now not optimal to first download the geoJson, then parse it in the react component and filter away the data you dont want to cluster before adding the data via the
data
prop.Being able to filter it at this level would be very beneficial
Beta Was this translation helpful? Give feedback.
All reactions