Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

update iOS accuracy circle during zooms #2045

Closed
incanus opened this issue Aug 12, 2015 · 4 comments
Closed

update iOS accuracy circle during zooms #2045

incanus opened this issue Aug 12, 2015 · 4 comments
Labels
feature iOS Mapbox Maps SDK for iOS

Comments

@incanus
Copy link
Contributor

incanus commented Aug 12, 2015

@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].

@incanus
Copy link
Contributor Author

incanus commented Aug 24, 2015

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.

@1ec5
Copy link
Contributor

1ec5 commented Jan 25, 2016

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.

@1ec5
Copy link
Contributor

1ec5 commented Jan 25, 2016

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

@friedbunny
Copy link
Contributor

We’re good here after #6215.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

4 participants