Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.32 KB

File metadata and controls

69 lines (50 loc) · 1.32 KB

MarkerCluster class

this.map.addMarkerCluster(options: MarkerClusterOptions).then((markercluster: MarkerCluster) => {

});

API Reference


Instance methods

  • getId()

    Returns the ID of instance.

    ➡️ Returns string

  • getMap()

    Return the map instance.

    ➡️ Returns GoogleMap instance.

  • addMarker(location, skipRedraw?)

    Add one marker location.

    Params Type Details
    location MarkerOptions one location
    skipRedraw boolean (optional)marker cluster does not redraw the marker cluster if true.
  • addMarkers(markers)

    Add marker locations

    Params Type Details
    location MarkerOptions[] multiple location
  • remove()

    Remove the marke cluster.