You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| leafletObject |[Leaflet Map](https://github.com/Leaflet/Leaflet/blob/main/src/map/Map.js)|**(required)** The Leaflet Map object to attach the marker cluster group to. |
107
+
| markers | Marker |**(required)** Array of locations to display on the map (documented in next section) |
108
+
| options |[MarkerClusterGroupOptions](https://github.com/Leaflet/Leaflet.markercluster/tree/master?tab=readme-ov-file#defaults)| Legacy options to pass to the marker cluster group. |
109
+
102
110
Here are the options available for each marker in the `markers` prop.
| showCoverageOnHover | boolean | When you mouse over a cluster it shows the bounds of its markers. |
125
+
| zoomToBoundsOnClick | boolean | When you click a cluster we zoom to its bounds. |
126
+
| spiderfyOnMaxZoom | boolean | When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers. |
127
+
| removeOutsideVisibleBounds | boolean | Clusters and markers too far from the viewport are removed from the map for performance. |
128
+
| spiderLegPolylineOptions | object | Allows you to specify PolylineOptions to style spider legs. By default, they are { weight: 1.5, color: '#222', opacity: 0.5 }. |
0 commit comments