Supercluster Versions Save

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

v6.0.1

5 years ago

Fixed a bug introduced in v6.0.0 where some aggregated cluster properties were calculated incorrectly.

v6.0.0

5 years ago

⚠️ Breaking: removed initial option of the map/reduce functionality. Now Supercluster uses the first mapped item of the cluster as the initial value:

// before
value = initial;
reduce(value, a);
reduce(value, b);
...
// after
value = a;
reduce(value, b);
...

In most cases, you can simply remove the initial option and things will work. There are some exceptions where you'd need to update your map function to make up for lack of initial, but they should be rare.

v5.0.0

5 years ago
  • ⚠️ breaking: changed the API entry point to new Supercluster(...) in place of supercluster(...). This makes it more in line with idiomatic modern ES, and also more flexible (i.e. you can extend the class). #109
  • Fixed getClusterExpansionZoom not returning the right result on maxZoom. #106
  • Modernized the code base — now the module entry point exposes idiomatic ES6 code, while the main entry point remains a ES5-compatible UMD build.

v4.1.1

5 years ago

Fix a build issue that prevented v4.1.0 from being published to NPM.

v4.0.1

5 years ago

Fix a bug where getClusters didn't return correct results with a -180..180 bbox.

4.1.0

5 years ago

Assign feature ids clusters and retain ids on input features.

v4.0.0

5 years ago

Exposed Supercluster as a proper ES module.

v3.0.3

5 years ago

Fixed a bug that could cause supercluster to get stuck in an infinite loop when given unwrapped bbox values in getClusters. #80 #73

v3.0.2

6 years ago

Fixed getClusters queries with the bbox crossing the date line.

v3.0.1

6 years ago

Added default export for better ES6 modules / transpiler support.