We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ec4e46 + 67cd398 commit c740dfbCopy full SHA for c740dfb
packages/react-google-maps-api-marker-clusterer/src/Cluster.tsx
@@ -141,8 +141,6 @@ export class Cluster {
141
marker.setMap(null)
142
}
143
144
- this.updateIcon()
145
-
146
return true
147
148
packages/react-google-maps-api-marker-clusterer/src/Clusterer.tsx
@@ -709,7 +709,11 @@ export class Clusterer {
709
* @param {Clusterer} mc The Clusterer whose markers are being clustered.
710
* @event
711
*/
712
- google.maps.event.trigger(this, 'clusteringend', this)
+ google.maps.event.trigger(this, 'clusteringend', this)
713
+
714
+ for (let i = 0; i < this.clusters.length; i++) {
715
+ this.clusters[i].updateIcon()
716
+ }
717
718
719
0 commit comments