Skip to content

Releases: mapbox/supercluster

v3.0.0

30 Aug 13:02
Compare
Choose a tag to compare
  • ⚠️ 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

06 Feb 16:33
Compare
Choose a tag to compare
  • 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

19 Sep 16:57
Compare
Choose a tag to compare
  • Fixed clipping of clusters near the date line. #16
  • Fixed the demo not working in Firefox. #20

v2.1.0

14 Apr 10:09
Compare
Choose a tag to compare
  • 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

14 Apr 10:07
Compare
Choose a tag to compare
  • Fixed a bug in getTile when requesting tiles higher than maxZoom

v2.0.0

21 Jan 15:36
Compare
Choose a tag to compare
  • Renamed numPoints cluster property to point_count
  • Renamed numPointsH cluster property to point_count_abbreviated
  • Added tests.

v1.0.0

19 Jan 13:12
Compare
Choose a tag to compare

Initial release.