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

Fix mobile touch to zoom. Only perform fast click. #121

Open Buggytheclown opened 7 years ago

Buggytheclown commented 7 years ago

Problem with touch device, click on cluster does not trigger 'triggerClusterClick' (and zoom map), because also triggered 'mousemove'. Insted of listening for 'mousemove' i suggest perform touch to zoom only for fast click! This fix work for me, wanna share it. )

googlebot commented 7 years ago

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.