Skip to content

v3.0.0

Compare
Choose a tag to compare
@mourner mourner released this 30 Aug 13:02
· 95 commits to main since this release
  • ⚠️ 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.