A very fast geospatial point clustering library for browsers and Node.
Fix an error when creating an empty index (after load([])
). #225
kdbush
dependency to v4.Fix handling of non-integer zoom values in methods like getClusters()
. #199
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
Fix a bug where coordinates of unclustered points were snapping to a grid on higher zoom levels. #176
Fix fround
fallback on IE11 so that the v7.1.1 small radius bugfix is effective there too.
Fix a bug where identical points sometimes wouldn't cluster on higher zooms given a small radius.
Added minPoints
option for the minimum number of points to form a cluster (2
by default).
generateId
option to generate numeric ids (feature.id
) for input features that don't have it.generateId
.Slightly improved performance of map
/reduce
by avoiding redundant map
calls. #131