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
When Map is used as a controlled component, event.viewState.bearing reflects the zoom that the camera "proposes" to change to, as a result of either user interaction or methods such as flyTo. The camera does not actually change until the application updates the bearing prop.
In reality, event.viewState.bearing reports the current bearing.
Expected Behavior
event.viewState.bearing from onRotate should return "proposed" bearing
Description
According to docs,
In reality,
event.viewState.bearing
reports the current bearing.Expected Behavior
event.viewState.bearing
fromonRotate
should return "proposed" bearingSteps to Reproduce
https://codesandbox.io/s/exciting-currying-fv7z84?file=/src/App.js
Attempt to rotate, see console
Environment
See codesandbox
Logs
No response
The text was updated successfully, but these errors were encountered: