npm leaflet.markercluster 2.0.0-beta.2
v2.0.0-beta.2

one hour ago

Bug fixes from the beta feedback and older issues. Please keep reporting problems in #1115.

🐞 Bug fixes

  • Fix spiderfied markers vanishing when a zoom splits their cluster (with zoomAnimation: false), which also kept zoomToShowLayer from spiderfying with animate: false (#780)
  • Fade spiderfied markers out in place during pinch zooms and flyTo instead of collapsing them to a position the zoom has moved away from
  • Fix an error and invisible clusters when removing the map's only layer with a maxZoom, e.g. while switching base layers. The clusters now stay until the zoom range is back (#1127)
  • Fix the browser freezing on an invalid latlng or a very high maxZoom (#1043, #1008)
  • Free the memory of emptied grid rows when removing markers (#977)
  • Take cluster popup and tooltip anchors from the icon iconCreateFunction returns (#1087)
  • Fix clusters not expanding on click when zoomToBounds gets padding in its fitBoundsOptions (#932)
  • Make zoomToShowLayer do nothing for a marker that isn't in the group or a group that isn't on the map, and stop waiting if the marker is removed during the zoom, instead of throwing (#1125)
  • Serve the 1.x builds on leaflet.github.io again for pages that load them from there (#1126)

Don't miss a new leaflet.markercluster release

NewReleases is sending notifications on new releases.