supercluster icon indicating copy to clipboard operation
supercluster copied to clipboard

Support for stable order clustering

Open meesfrensel opened this issue 2 months ago • 0 comments

Hi, is there support for clustering in such a way that getLeaves returns the leaves in the same order as they appear in the source data? That is, a stable clustering?

Context: photos on a map where they were taken, clustered for usability. Clicking on a cluster, we'd like to show them ordered by date. Given that the data is just a list of IDs, and they were sorted before, it doesn't really make sense (for us) to query and re-sort them after getting the leaves of a cluster. Thanks.

meesfrensel avatar Nov 10 '25 10:11 meesfrensel