Skip to content

Commit b77a829

Browse files
jermowerytjshiu
authored andcommitted
docs(google-maps): Document the behavior of using the clusterClick output in MapMarkerClusterer (#33404)
Added detailed documentation for clusterClick output. (cherry picked from commit bcb08ec)
1 parent 605f200 commit b77a829

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/google-maps/map-marker-clusterer/map-marker-clusterer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ export class MapMarkerClusterer implements OnInit, OnChanges, OnDestroy {
8282
@Output() readonly clusteringend: Observable<void> =
8383
this._closestMapEventManager.getLazyEmitter<void>('clusteringend');
8484

85-
/** Emits when a cluster has been clicked. */
85+
/**
86+
* Emits when a cluster has been clicked.
87+
* Listening to this output will replace the default click handler on the cluster,
88+
* disabling the default behavior of zooming into the markers in the cluster.
89+
*/
8690
@Output()
8791
readonly clusterClick: EventEmitter<Cluster> = new EventEmitter<Cluster>();
8892

0 commit comments

Comments
 (0)