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

Fire 'mousedown' event when clicking on map? #1411

Closed
misterfresh opened this issue Aug 7, 2015 · 2 comments
Closed

Fire 'mousedown' event when clicking on map? #1411

misterfresh opened this issue Aug 7, 2015 · 2 comments

Comments

@misterfresh
Copy link

 map.on('mousedown', function(e) {
            console.log('mousedown');
});

This does nothing. How can I listen to mousedown and mouseup events? (need it to drag & drop markers)

@mourner mourner added the api label Aug 7, 2015
@mourner
Copy link
Member

mourner commented Aug 7, 2015

You're right, it doesn't fire mousedown and mouseup currently. Should be fixed for the next release.

@misterfresh
Copy link
Author

Ok thanks

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

2 participants