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

navigationControl compass can't change the pitch #5711

Closed
BrunoSalerno opened this issue Nov 18, 2017 · 1 comment
Closed

navigationControl compass can't change the pitch #5711

BrunoSalerno opened this issue Nov 18, 2017 · 1 comment

Comments

@BrunoSalerno
Copy link

mapbox-gl-js version: 0.40

Steps to Trigger Behavior

  1. Add the navigationControl
  2. Try to change the pitch by clicking the compass of the navigationControl and moving the mouse
  3. The map rotates, the pitch doesn't change

Expected Behavior

Until version 0.39.1, clicking the compass and moving the mouse would change the pitch of the map

Actual Behavior

Clicking the compass and moving the mouse only rotates the map

0.39.1 jsfiddle
0.40 jsfiddle

Maybe related with #5157 ? (and @anandthakker comment ?)

@BrunoSalerno BrunoSalerno changed the title navigationControl compass can't change pitch navigationControl compass can't change the pitch Nov 18, 2017
@jfirebaugh
Copy link
Contributor

Huh, I didn't realize the old version did that!

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