MarkerClusterer creates and manages per-zoom-level clusters for large amounts of markers. See MarkerClustererOptions for more details.

Hierarchy

  • OverlayViewSafe
    • MarkerClusterer

Constructors

Properties

algorithm: Algorithm
clusters: Cluster[]
idleListener: null | MapsEventListener = null
map: null | Map = null
markers: Marker[]
onClusterClick: onClusterClickHandler
renderer: Renderer

Methods

  • Parameters

    • OptionalnoDraw: boolean

    Returns void

  • Implement this method to initialize the overlay DOM elements. This method is called once after setMap() is called with a valid map. At this point, panes and projection will have been initialized.

    Returns void

  • Implement this method to remove your elements from the DOM. This method is called once following a call to setMap(null).

    Returns void