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

Box zoom resets map bearing #4221

Closed
IvanSanchez opened this issue Feb 7, 2017 · 0 comments · Fixed by #6894
Closed

Box zoom resets map bearing #4221

IvanSanchez opened this issue Feb 7, 2017 · 0 comments · Fixed by #6894

Comments

@IvanSanchez
Copy link
Contributor

mapbox-gl-js version: 0.32.1

Steps to Trigger Behavior

  1. Drag with the right mouse button to set an arbitrary map bearing and tilt
  2. Perform a box-zoom by shift-dragging the mouse

Expected Behavior

Map bearing ("rotation") and tilt should be kept unchanged.

Actual Behavior

Map bearing is reset to zero (north up) while map tilt is kept unchanged. Rotating the map on a box zoom just feels.... like weird UX.

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