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