leaflet.markercluster breaking changes
leaflet.markercluster 2.0.0 (November 25, 2026) is its newest release with breaking changes, 13 of them. The first: Removed DistanceGrid. Every breaking API change we have recorded in leaflet.markercluster on npm: 29 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.0, released November 25, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.0.0-beta.1 to 2.0.0: 13 breaking changes in 1 version.
leaflet.markercluster 2.0.0 breaking changes
- Removed
DistanceGrid
DistanceGrid is no longer exported for direct use. github.com - Removed
L.MarkerClusterGroup
The package no longer sets L.MarkerClusterGroup or other globals; import MarkerClusterGroup and use new MarkerClusterGroup(options). github.com - Removed
marker.__parent
Use group.getParent(marker) or group.getVisibleParent(marker) instead. github.com - Removed
MarkerCluster.css
Drop the MarkerCluster.css import or link; keep MarkerCluster.Default.css. github.com - Removed
MarkerClusterNonAnimated
MarkerClusterNonAnimated is no longer exported for direct use. github.com - Removed
QuickHull
QuickHull is no longer exported for direct use. github.com - Behavior changed
Internet Explorer and old-browser CSS fallbacks are removed; Leaflet 1.9 or 2.0 is required. github.com - Behavior changed
clusterkeypress
Keyboard activation on a cluster now fires clusterclick instead of clusterkeypress on Leaflet 2.0. github.com - Behavior changed
getLayer
getLayer(id) now returns undefined instead of null for an unknown id. github.com - Behavior changed
getVisibleParent
For a visible CircleMarker, getVisibleParent returns the marker rather than its cluster. github.com - Behavior changed
MarkerClusterGroup
On Leaflet 2.0 subclass with class extends; extend() and initialize() still work on 1.9. Enter or Space on a cluster now fires clusterclick instead of clusterkeypress. github.com - Behavior changed
MarkerClusterGroup.addLayer
Adding a marker to another group removes it from the first group. github.com - Signature changed
MarkerCluster.unspiderfy
unspiderfy() no longer accepts arguments. github.com
leaflet.markercluster 2.0.0-beta.1 breaking changes
- Removed
DistanceGrid
DistanceGrid is no longer exported for direct use. github.com - Removed
L.markerClusterGroup
Use new MarkerClusterGroup(options) from the ES module; the factory global is gone except in the -global build on Leaflet 1.x. github.com - Removed
L.MarkerClusterGroup
The package no longer sets L.MarkerClusterGroup or other globals; import MarkerClusterGroup and use new MarkerClusterGroup(options). Plain script tags should use the -global build. github.com - Removed
marker.__parent
Use group.getParent(marker) or group.getVisibleParent(marker) instead. github.com - Removed
MarkerCluster.css
Drop the MarkerCluster.css import or link; keep MarkerCluster.Default.css. Use animationDuration instead of CSS transition overrides. github.com - Removed
MarkerClusterNonAnimated
MarkerClusterNonAnimated is no longer exported for direct use. github.com - Removed
QuickHull
QuickHull is no longer exported for direct use. github.com - Removed
window.Leaflet.markercluster
The -src build and the window.Leaflet.markercluster global are gone; use the -global build for script tags. github.com - Behavior changed
Internet Explorer and old-browser CSS fallbacks are removed; Leaflet 1.9 or 2.0 is required. github.com - Behavior changed
clusterkeypress
Keyboard activation on a cluster now fires clusterclick instead of clusterkeypress on Leaflet 2.0. github.com
And 6 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.