googlearchive / js-marker-clusterer

A marker clustering library for the Google Maps JavaScript API v3.
https://googlemaps.github.io/js-marker-clusterer/docs/reference.html
Apache License 2.0
1.28k stars 775 forks source link

Event clusteringend not working #83

Open strech345 opened 8 years ago

strech345 commented 8 years ago

ive updeted to newst version and now the event google.maps.event.addListener(this.markerCluster, 'clusteringend', function () {

is not working. In my old 2.0.9 [February 20, 2012] it is working.

brianshim commented 7 years ago

I confirmed this event (clusteringend) is not in the source code.

I was able to get it to work by adding this line: google.maps.event.trigger(this, "clusteringend", this);

to the last line of MarkerClusterer.prototype.createClusters_