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

Trigger event when Clusterer redraw method called #127

Open dattarzadeh opened 7 years ago

dattarzadeh commented 7 years ago

Having an event trigger here will allow the developer to know when the MarkerClusterer is finishing redrawing, and perform additional operations (e.g. manually updating the cluster icons). The paradigm of different clustering icons for 'larger' clusters isn't what we were looking for. The developer can now:

google.maps.event.addListener(myMap, 'clusters_redrawn', function () { // Work... });

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


Remo commented 7 years ago

@dattarzadeh this repo isn't maintained anymore, but I'd be happy to review your pull request in our fork: https://github.com/gmaps-marker-clusterer/gmaps-marker-clusterer