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
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
When animating the camera via CameraUpdateFactory.newLatLngBounds(), bearing gets mirrored on north/south axis.
When applying the same CameraUpdate from CameraUpdateFactory.newLatLngBounds() multiple times, the bearing keep swapping between two values:
original bearing
bearing after re-applying update
Can be reproduced with all map.animateCamera(), map.easeCamera() and map.MoveCamera().
Steps to reproduce
Start map view with bearing set to 0 (north facing up)
Apply CameraUpdate obtained with CameraUpdateFactory.LatLngBounds()
Rotate map (changing it's bearing)
Apply new (or same, doesn't matter) CameraUpdate obtained with CameraUpdateFactory.LatLngBounds()
Expected behavior
Animating to same bounds as before with either keeping current bearing or resetting it to 0 (latter one used to be the behavior)
Actual behavior
Bearing seems to be mirrored on north-south axis (before second update: 42.27285333486378, after second update: 317.7271466651362).
Configuration
Android versions: Tested and reproduced on Android 8.0 and 4.4.2 Device models: One Plus 3T (Android 8.0), Nexus 5 Emulator (Android 4.4.2) Mapbox SDK versions: 6.3.0
This bug might be related to/was introduced with #11993
The text was updated successfully, but these errors were encountered:
When animating the camera via
CameraUpdateFactory.newLatLngBounds()
, bearing gets mirrored on north/south axis.When applying the same CameraUpdate from
CameraUpdateFactory.newLatLngBounds()
multiple times, the bearing keep swapping between two values:Can be reproduced with all
map.animateCamera()
,map.easeCamera()
andmap.MoveCamera()
.Steps to reproduce
CameraUpdateFactory.LatLngBounds()
CameraUpdateFactory.LatLngBounds()
Expected behavior
Animating to same bounds as before with either keeping current bearing or resetting it to 0 (latter one used to be the behavior)
Actual behavior
Bearing seems to be mirrored on north-south axis (before second update: 42.27285333486378, after second update: 317.7271466651362).
Configuration
Android versions: Tested and reproduced on Android 8.0 and 4.4.2
Device models: One Plus 3T (Android 8.0), Nexus 5 Emulator (Android 4.4.2)
Mapbox SDK versions: 6.3.0
This bug might be related to/was introduced with #11993
The text was updated successfully, but these errors were encountered: