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

Remove settimeouts from map event toggles after upstream fix #351

Closed
samanpwbb opened this issue Jun 13, 2016 · 0 comments
Closed

Remove settimeouts from map event toggles after upstream fix #351

samanpwbb opened this issue Jun 13, 2016 · 0 comments

Comments

@samanpwbb
Copy link
Contributor

samanpwbb commented Jun 13, 2016

This pattern is bad:

setTimeout(() => {
  ctx.map.doubleClickZoom.disable();
});

Unfortunately, it's necessary because of mapbox/mapbox-gl-js#2419. When that bug if fixed upstream, lets remove these timeouts.

@samanpwbb samanpwbb changed the title Remove settimeouts from map even toggles after upstream fix Remove settimeouts from map event toggles after upstream fix Jun 13, 2016
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