Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@boundsj

Platform: iOS
Mapbox SDK version: 3.4.x+

Steps to trigger behavior

  1. Create an app that uses MGLAnnotationView backed annotations and a reuse queue
  2. 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)
  3. Add annotations frequently (i.e. every time mapView:regionDidChangeAnimated is called)
  4. 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

  1. added
    annotations
    iOS
    on May 8, 2017
  2. added this to the ios-v3.5.4 milestone on May 8, 2017
  3. self-assigned this
    on May 8, 2017
  4. boundsj commented on May 10, 2017

    @boundsj
    ContributorAuthor

    This is fixed in the Mapbox iOS v3.5.4 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

annotationsbugiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions