This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Incorrect userLocation annotation position after zoomLevel is changed #10108
Labels
annotations
Annotations on iOS and macOS or markers on Android
archived
Archived because of inactivity
iOS
Mapbox Maps SDK for iOS
Platform: iOS
Mapbox SDK version: 3.6.2
User puck is drawn in a different place after
zoomLevel
is changed anduserTrackingMode
is set tofollowWithCourse
anduserLocationVerticalAlignment
is set tobottom
.Steps to trigger behavior
mapView.userLocationVerticalAlignment = .bottom
mapVIew.setUserTrackingMode(.followWithCourse, animated: false)
mapView.setZoomLevel(14, animated: true)
Expected behavior
Map should zoom out and user annotation/puck should stay at the same place as it was before the animation started.
Actual behavior
User puck moves to a different place (where the user isn't). Panning the map helps to redraw the puck in correct location.
The text was updated successfully, but these errors were encountered: