mapbox/supercluster

Clustering customization

Closed this issue · 1 comments

Please check this link out!
maplibre/maplibre-gl-js#429

what im missing from implementation now is the hover to show coverage.
In my case i would be more interested in coverage shown all the time or toggle it off, so ON,OFF,HOVER,CLICK to have all options?

Thanks!

You can implement the coverage manually in your app by using the getChildren method and generating a convex hull with something like Turf on hover. Supercluster is a minimal library focused on the clustering algorithm and implement UI features like this is out of scope for it.