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

BoxZoom Does Not Zoom to Rectangle #3961

Closed
jasonpepper opened this issue Jan 12, 2017 · 3 comments
Closed

BoxZoom Does Not Zoom to Rectangle #3961

jasonpepper opened this issue Jan 12, 2017 · 3 comments

Comments

@jasonpepper
Copy link
Contributor

If I have a map where boxzoom is enabled, and I hold down shift, drag my rectangle, and release, the map either zooms in a tiny bit or not at all. But it definitely does not zoom to the rectangle I drew.
There are no messages in the console. I've seen this in 0.31, as well as some of the previous releases, so it is not brand new. You can see this in the MapBox examples: https://www.mapbox.com/mapbox-gl-js/examples/.

@mourner
Copy link
Member

mourner commented Jan 12, 2017

Hmm, I can't reproduce — everything works fine for me. Can you share more details? What's your OS? Is this happening in a specific browser, and did you try other browsers? Does it always zoom incorrectly, or only sporadically?

@jasonpepper
Copy link
Contributor Author

It always zooms incorrectly.

It fails on Windows 8.1 with Chrome Version 55.0.2883.87 m (64-bit), IE 11.0.9600.18538, and Firefox 50.1.0.

It works on a Mac OS X El Capitan 10.11.6 running Chrome 55.0.2883.95 (64-bit) and Safari 10.0.2.

@mourner
Copy link
Member

mourner commented Jan 12, 2017

Looks like this is the same as this issue: #3334. Let's close this one to keep the discussion centralized. Commented there.

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

No branches or pull requests

2 participants