Skip to content

Release 2.0.0

Latest
Compare
Choose a tag to compare
@JiriHoffmann JiriHoffmann released this 25 Mar 00:27

2.0.0 (2024-03-25)

Bug Fixes

  • Example background color for darkmode (3978444)

  • Example types (6b4f655)

  • Tile feature id retrieval (da79a9f)

  • MaxZoom not working as expected #16 (ff8a544)

  • useClusterer return type (ad1794e)

  • feat!: Add getClusterExpansionRegion to all clusters (349d5e3)

    • Note the BREAKING CHANGES - all clusters have getExpansionRegion property - use isPointCluster utility function to check if this method is defined

Features

  • Add coordsToGeoJSONFeature util function (8b42984), closes #34
  • Add isPointCluster util function (a56e334)
  • Implement tests from Supercluster JS (8ec58f4)
  • Remove feature.properties data type limits (abe3ae9), closes #35

BREAKING CHANGES

  • Rename Supercluster.expandCluster to Supercluster.getClusterExpansionRegion.
    Rename cluster .getClusterExpansionRegion to .getExpansionRegion to follow the same naming scheme as other methods