Turn a Cluster into a google.maps.Marker.
google.maps.Marker
Below is a simple example to create a marker with the number of markers in the cluster as a label.
return new google.maps.Marker({ position, label: String(markers.length),});
Generated using TypeDoc
Turn a Cluster into a
google.maps.Marker
.Below is a simple example to create a marker with the number of markers in the cluster as a label.