ym.modules.provider.MarkerCluster
Available from V 3.5
Overview
Represents a cluster (not the group). Typically used for event handling
Methods
| Name | Rückgabe | Beschreibung | 
|---|---|---|
getBounds() | 
LatLngBounds | 
Returns the rectangle on the map where the markers of the cluster are located. | 
getConvexHull() | 
Polygon | 
Returns the polygon on the map where the markers of the cluster are located. | 
zoomToBounds(FitBoundsOptions) | 
None | 
Zooms in the section of the map where the markers of the cluster are located. | 
getChildCount() | 
Number | 
Returns the number of markers that are in a cluster. | 
getAllChildMarkers() | 
Marker[] | 
Returns an array of all markers that are in a cluster. | 
spiderfy() | 
None | 
Display the spider legs of the cluster on the map. | 
unspiderfy() | 
None | 
Removing the spider legs of the cluster on the map. |