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 was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Annotation views can get detached from their underlying GL point when animating #8925
Create an app that uses MGLAnnotationView backed annotations and a reuse queue
When adding an annotation, start with a 0,0 size for the view's frame and setup an animation to increase the size to something larger (i.e. 50,50)
Add annotations frequently (i.e. every time mapView:regionDidChangeAnimated is called)
Move the map around, panning left and right with reversals of direction while the map pan is drifting
Expected behavior
Annotations should track the map and behave normally
Actual behavior
Annotation views that are added with the animation and near the border of the viewport that drift offscreen while the animation is in progress don't get moved far enough offscreen. Tracking ends because the underlying annotation is offscreen but the view remains in a detached state.
Activity
boundsj commentedon May 10, 2017
This is fixed in the Mapbox iOS v3.5.4 release