Fix for map cluster size icons not disappearing after zoom Normally zooming on a cluster icon far enough to show individual pins should also hide the cluster icon. Some time recently this stopped happening, which is disruptive because the cluster icon could hide pins underneath and make them unreachable, and confusing because it gave the impression there would be more pins if you keep zooming. It seems likely that some maps API update introduced a collision with the 'remove' method. Renaming the method was found to fix the bug. Repro: https://screencast.googleplex.com/cast/NjMyNzQ5NTc2NTc4NjYyNHwxNDRkMmMyYS0xYQ Fix: https://screencast.googleplex.com/cast/NTM3NzQ1MDc0NDc0MTg4OHwwNDcxY2NjYi04ZA Fixes: b/493541353 Change-Id: I52d852c7ab68230bbcfdd1d6efcfedaceafc544a Reviewed-on: https://gnocchi-internal-review.git.corp.google.com/c/third_party/@google/markerclusterer/+/297685 Reviewed-by: Hughes Hilton <hugheshilton@google.com>
Creates and manages per-zoom-level clusters for large amounts of markers.
Available via NPM as the package @google/markerclusterer
This library is community supported. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it.
If you find a bug, or have a feature suggestion, please log an issue. If you'd like to contribute, please read How to Contribute.