Mapbox: show a cluster of points / geojson

Hi,

I'd like to present a pretty big resultset of points on the map and it takes forever to load.

Mapbox recommends displaying the points in clusters to solve this case: Display HTML clusters with custom properties | Mapbox GL JS | Mapbox

Can you share a snippet how can this be done in retool?

Thanks in advance!

Hey Tom! It doesn't look like clustering is supported in our Mapbox component. I wonder if a custom component would be helpful here.

A great place to start is with our general docs on custom components. There's also an example on the community forum specifically for a mapbox custom component!

Thanks Victoria. I'll look into creating a custom component.