You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ctrl+Left Click on the map to start changing the bearing and pitch.
While holding the Left Click, release the Ctrl key.
Release the Left Click
The map will continue to fire the function to change the map bearing and pitch even when you left click. The only way to stop the function is to right click or Ctrl+Left Click
Expected Behavior
When Ctrl is released, the map changes state from changing the bearing and pitch to moving the map.
Actual Behavior
The map keeps changing the bearing and pitch.
Notes
I dont know if this would constitute as a bug ... however the feel / design of this function is kind of strange. I am working on a project that will use the right click as a context menu instead of changing the map's pitch and bearing. The Ctrl+Left click will be the way to change the pitch and bearing. While testing, I find myself letting go of Ctrl 1st before releasing left click which keeps the map state for changing the map's bearing and pitch. I feel like when I release Ctrl, the pitch and bearing should stop changing ... similar to the way google maps handles changing the pitch and bearing.
mapbox-gl-js version: v0.32.1
Link: https://www.mapbox.com/mapbox-gl-js/examples/
Steps to Trigger Behavior
Expected Behavior
When Ctrl is released, the map changes state from changing the bearing and pitch to moving the map.
Actual Behavior
The map keeps changing the bearing and pitch.
Notes
I dont know if this would constitute as a bug ... however the feel / design of this function is kind of strange. I am working on a project that will use the right click as a context menu instead of changing the map's pitch and bearing. The Ctrl+Left click will be the way to change the pitch and bearing. While testing, I find myself letting go of Ctrl 1st before releasing left click which keeps the map state for changing the map's bearing and pitch. I feel like when I release Ctrl, the pitch and bearing should stop changing ... similar to the way google maps handles changing the pitch and bearing.
Ex: https://www.google.com/maps/@39.0163933,-81.2153151,2182415a,20y,6.56h/data=!3m1!1e3
The text was updated successfully, but these errors were encountered: