supercluster 1.0.0 copy "supercluster: ^1.0.0" to clipboard
supercluster: ^1.0.0 copied to clipboard

outdated

Very fast mutable point clustering and even faster immutable point clustering.

1.0.0 #

  • BREAKING: ClusterOrMapPoint has been renamed to LayerElement
  • BREAKING: Cluster has been renamed to LayerCluster
  • BREAKING: MapPoint has been renamed to LayerPoint
  • BREAKING: Supercluster has been renamed to SuperclusterImmutable
  • BREAKING: Supercluster no longer supports points with a null x or y. The getX and getY functions are now non-nullable. If you have points with null x/y you should filter them out.
  • Introduced SuperclusterMutable which allows adding/removing points. This uses a rbush instead of kdbush as the point index which is slower but supports mutation. If you don't need mutation you should stick with the normal Supercluster.
  • Added callbacks to get the latest aggregated cluster data.

0.1.0 #

  • Add the ability to aggregate map point data in clusters.

0.0.2 #

  • Export Cluster, MapPoint and ClusterOrMapPoint

0.0.1+1 #

  • Fix code example in README

0.0.1 #

  • Initial version.
8
likes
80
points
4.98k
downloads

Publisher

verified publisherbalanci.ng

Weekly Downloads

Very fast mutable point clustering and even faster immutable point clustering.

Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (license)

Dependencies

freezed_annotation, kdbush, rbush, uuid

More

Packages that depend on supercluster