The Google map to attach to.
The markers to be added to the cluster.
The optional parameters.
The number of markers to process in one batch.
The number of markers to process in one batch (IE only).
The default extension name for the marker cluster images.
The default root name for the marker cluster images.
The default array of sizes for the marker cluster images.
Adds a marker to the clusterer. The clusters are redrawn unless
nodraw
is set to true
.
The marker to add.
Set to true
to prevent redrawing.
Adds an array of markers to the clusterer. The clusters are redrawn unless
nodraw
is set to true
.
The markers to add.
Set to true
to prevent redrawing.
Removes all clusters and markers from the map and also removes all markers managed by the clusterer.
Fits the map to the bounds of the markers managed by the clusterer.
Returns the value of the averageCenter
property.
True if averageCenter property is set.
Returns the value of the batchSizeIE
property.
the value of the batchSizeIE property.
Returns the value of the calculator
property.
the value of the calculator property.
Returns the value of the clusterClass
property.
the value of the clusterClass property.
Returns the current array of clusters formed by the clusterer.
The array of clusters formed by the clusterer.
Returns the value of the enableRetinaIcons
property.
True if enableRetinaIcons property is set.
Returns the value of the gridSize
property.
The grid size.
Returns the value of the ignoreHidden
property.
True if ignoreHidden property is set.
Returns the value of the imageExtension
property.
The value of the imageExtension property.
Returns the value of the imagePath
property.
The value of the imagePath property.
Returns the value of the imageSizes
property.
The value of the imageSizes property.
Returns the array of markers managed by the clusterer.
The array of markers managed by the clusterer.
Returns the value of the maxZoom
property.
The maximum zoom level.
Returns the value of the minimumClusterSize
property.
The minimum cluster size.
Returns the value of the styles
property.
The array of styles defining the cluster markers to be used.
Returns the value of the title
property.
The content of the title text.
Returns the number of clusters formed by the clusterer.
The number of clusters formed by the clusterer.
Returns the number of markers managed by the clusterer.
The number of markers.
Returns the value of the zoomOnClick
property.
True if zoomOnClick property is set.
Removes a marker from the cluster. The clusters are redrawn unless
nodraw
is set to true
. Returns true
if the
marker was removed from the clusterer.
The marker to remove.
Set to true
to prevent redrawing.
True if the marker was removed from the clusterer.
Removes an array of markers from the cluster. The clusters are redrawn unless
nodraw
is set to true
. Returns true
if markers were removed from the clusterer.
The markers to remove.
Set to true
to prevent redrawing.
True if markers were removed from the clusterer.
Recalculates and redraws all the marker clusters from scratch. Call this after changing any properties.
Sets the value of the averageCenter
property.
The value of the averageCenter property.
Sets the value of the batchSizeIE
property.
The value of the batchSizeIE property.
Sets the value of the calculator
property.
The value of the calculator property.
Sets the value of the clusterClass
property.
The value of the clusterClass property.
Sets the value of the enableRetinaIcons
property.
The value of the enableRetinaIcons property.
Sets the value of the gridSize
property.
The grid size.
Sets the value of the ignoreHidden
property.
The value of the ignoreHidden property.
Sets the value of the imageExtension
property.
The value of the imageExtension property.
Sets the value of the imagePath
property.
The value of the imagePath property.
Sets the value of the imageSizes
property.
The value of the imageSizes property.
Sets the value of the maxZoom
property.
The maximum zoom level.
Sets the value of the minimumClusterSize
property.
The minimum cluster size.
Sets the value of the styles
property.
The array of styles to use.
Sets the value of the title
property.
The value of the title property.
Sets the value of the zoomOnClick
property.
The value of the zoomOnClick property.
The default function for determining the label text and style for a cluster icon.
The array of markers represented by the cluster.
The number of marker styles available.
The information resource for the cluster.
Generates default styles augmented with user passed values. Useful when you want to override some default values but keep untouched
override default values
Generated using TypeDoc
Creates a MarkerClusterer object with the options specified in MarkerClustererOptions.