Releases: mapbox/supercluster
Releases · mapbox/supercluster
v8.0.1
Fix an error when creating an empty index (after load([])
). #225
v8.0.0
- ⚡ Drastically reduce memory footprint (by up to 60%) and improve clustering performance by ~15-20%. #223
- ⚠️ Breaking: drop CommonJS entry point and switch to ESM only for Node & bundlers + UMD bundle for browsers.
- ⚠️ Breaking: drop support for IE11 (you can still transpile on your end to keep it).
- Upgrade
kdbush
dependency to v4.
v7.1.5
Fix handling of non-integer zoom values in methods like getClusters()
. #199
v7.1.4
Avoid creating new objects for same clusters across zooms, improving memory footprint and making sure the same clusters have the same cluster_id
across zoom levels. #190
v7.1.3
Fix a bug where coordinates of unclustered points were snapping to a grid on higher zoom levels. #176
v7.1.2
Fix fround
fallback on IE11 so that the v7.1.1 small radius bugfix is effective there too.
v7.1.1
Fix a bug where identical points sometimes wouldn't cluster on higher zooms given a small radius.
v7.1.0
Added minPoints
option for the minimum number of points to form a cluster (2
by default).
v7.0.0
- Added
generateId
option to generate numeric ids (feature.id
) for input features that don't have it.
- ⚠️ Possibly breaking: adjusted generated cluster id values to make sure there are no collisions when combined with
generateId
.
v6.0.2
Slightly improved performance of map
/reduce
by avoiding redundant map
calls. #131