MarkerCluster class
January 28, 2020 ยท View on GitHub
this.map.addMarkerCluster(options: MarkerClusterOptions).then((markercluster: MarkerCluster) => {
});
API Reference
Instance methods
-
getId()
Returns the ID of instance.
:arrow_right: Returns
string -
getMap()
Return the map instance.
:arrow_right: 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.