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.
Changing zoom using: CameraPosition cameraPosition = new CameraPosition.Builder(map.getCameraPosition()).zoom(newZoom).build(); map.easeCamera(CameraUpdateFactory.newCameraPosition(cameraPosition), duration, true, null);
or map.animateCamera(CameraUpdateFactory.zoomTo(newZoom), duration);
Expected behavior
Change zoom and keep tracking mode.
Actual behavior
Sometime tracking mode resets back from TRACKING_FOLLOW to TRACKING_NONE probably due to flag TrackingSettings#isResetTrackingWithCameraPositionChange being set to true when checking condition in TrackingSettings#resetTrackingModesIfRequired(CameraPosition cameraPosition).
Platform: Android
Mapbox SDK version: 5.1.0.beta.2
Action
Changing zoom using:
CameraPosition cameraPosition = new CameraPosition.Builder(map.getCameraPosition()).zoom(newZoom).build(); map.easeCamera(CameraUpdateFactory.newCameraPosition(cameraPosition), duration, true, null);
or
map.animateCamera(CameraUpdateFactory.zoomTo(newZoom), duration);
Expected behavior
Change zoom and keep tracking mode.
Actual behavior
Sometime tracking mode resets back from
TRACKING_FOLLOW
toTRACKING_NONE
probably due to flagTrackingSettings#isResetTrackingWithCameraPositionChange
being set to true when checking condition inTrackingSettings#resetTrackingModesIfRequired(CameraPosition cameraPosition)
.Might be connected with #8738
The text was updated successfully, but these errors were encountered: