Supercluster Versions Save

A very fast geospatial point clustering library for browsers and Node.

v3.0.0

6 years ago
  • ⚠️ Removed clusterZoom argument from getLeaves, getChildren and getClusterExpansionZoom methods — it's now encoded into cluster_id numbers, so there's no longer a need to track it separately.
  • ⚠️ As a result of the change above, the same data will have different cluster_id numbers compared to previous releases.
  • Fixed getLeaves to properly handle features with null properties.
  • Improved handling of null geometries (supercluster will ignore them instead of throwing an error).
  • Imrpoved error reporting — specifying invalid cluster_id will now result in a descriptive error.

v2.3.0

7 years ago
  • Added cluster properties aggregation through initial, map and reduce options. #36
  • Added getChildren method for getting children of a cluster on the next zoom. #31
  • Added getLeaves method for getting points of a cluster with pagination support. #19
  • Added getClusterExpansionZoom for getting the zoom where cluster expands (useful for "click to zoom" feature). #33
  • Slightly improved performance.

v2.2.0

7 years ago
  • Fixed clipping of clusters near the date line. #16
  • Fixed the demo not working in Firefox. #20

v2.1.0

8 years ago
  • Improved performance by at least 2 times by switching to a faster spatial index (kdbush).
  • Improved cluster placement by using weighted centers in all calculations.

v2.0.1

8 years ago
  • Fixed a bug in getTile when requesting tiles higher than maxZoom

v2.0.0

8 years ago
  • Renamed numPoints cluster property to point_count
  • Renamed numPointsH cluster property to point_count_abbreviated
  • Added tests.

v1.0.0

8 years ago

Initial release.