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.

update iOS accuracy circle during zooms #2045

Closed

Description

@incanus

@friedbunny great user annotation work in #2010 brought us an accuracy circle (among other things). But its size should change smoothly with map zoom instead of animated immediately after the zoom finishes.

anigif-1439404266

Should be able to hit this pretty easily inside of -[MGLMapView updateUserLocationAnnotationView].

Activity

  1. added
    iOS
    on Aug 12, 2015
  2. incanus commented on Aug 24, 2015

    @incanus
    ContributorAuthor

    Possibly helpful: MGLCircle by way of #2167, which would mean moving at least the non-pulsing (accuracy) circle) to GL-side. Maybe we don't want to do that, but it's an option.

  3. 1ec5 commented on Jan 25, 2016

    @1ec5
    Contributor

    change smoothly with map zoom instead of animated immediately after the zoom finishes

    Actually, -[MGLMapView updateUserLocationAnnotationView] does cause the accuracy ring to resize in tandem with the map animation. The change lags behind the map animation because Core Animation applies an implicit animation to any property changes on the user dot’s layers.

  4. 1ec5 commented on Jan 25, 2016

    @1ec5
    Contributor

    See #3683 for an example of disabling the implicit animation.

  5. friedbunny commented on Mar 10, 2017

    @friedbunny
    Contributor

    We’re good here after #6215.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions