Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Google Maps #1140

Closed
krabbypattified opened this issue Sep 16, 2017 · 1 comment
Closed

Integration with Google Maps #1140

krabbypattified opened this issue Sep 16, 2017 · 1 comment

Comments

@krabbypattified
Copy link

krabbypattified commented Sep 16, 2017

Is it possible to use Hammer.js instead of the bulky google.maps.event.addDomListener API? If so, how? This would really come in handy for my app.

Example using addDomListener: https://jsfiddle.net/doktormolle/4jSP7/

API: google.maps.event.addDomListener(someDivOnMap, 'click', function() {})

@krabbypattified
Copy link
Author

Closing because I didn't realize it's as simple as just using the Hammer API since google.maps.event.addDomListener is just a browser compatibility tool for window.addEventListener!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant