summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLFaux3DUserLocationAnnotationView.m
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Define user dot constants in implementation fileMinh Nguyễn2017-09-281-0/+8
|
* [ios] Disable implicit animation of heading indicatorsJason Wray2017-09-071-3/+8
| | | | | | The update steps for the heading indicator are typically small, so animations tend to pile up and cause performance issues. Disabling actions is a slight regression when it comes to large steps (they're not animated now, where they previously were) and this should eventually be addressed. Also consistently use provided API for disabling CATransaction actions.
* [ios] Introduce MGLUserLocationHeadingIndicator protocolJason Wray2017-09-071-15/+29
|
* [ios] Set a heading indicator update thresholdJason Wray2017-09-071-4/+9
|
* [ios] Introduce MGLUserLocationHeadingArrowLayer classJason Wray2017-09-071-2/+5
|
* [ios] Refactor user location heading indicator into its own classJason Wray2017-09-061-117/+16
|
* [ios] Fix user location horizontal accuracy ring inaccuracyupstream/fb-inaccurate-accuracyJason Wray2017-08-071-5/+2
| | | | Accuracy was off by +25%, depending on latitude.
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-14/+14
|
* [ios, macos] fix imports (#6209)Fredrik Karlsson2016-08-301-0/+1
|
* [ios] Clean-up user location annotation heading calculationsJason Wray2016-08-241-7/+11
| | | | | - Use MGLRadiansFromDegrees(). - Make indentation more readable.
* [ios] Stop exaggerating heading accuracy indicator sizeJason Wray2016-08-241-4/+4
| | | | | - 1.5× exaggeration has been removed. - Maximum accuracy (smallest size) has been increased to 20°.
* [ios] Disable implicit animation of user annotation pitch changes (#6122)Jason Wray2016-08-231-0/+6
| | | - Subtly improves the performance of the shadow, while performing the pitch gesture.
* [ios] Improve user location annotation performance (#6019)Jason Wray2016-08-161-1/+11
| | | | | | | | | | | | | | * [ios] Don't animate zoom-induced accuracy ring size changes Improves perceived and actual performance by eliminating the implicit animation that occurred when the accuracy ring changed size during zooms. This previously would pile up animations as the zoom changed, causing an unsightly wobbling effect. * [ios] Pre-calculate shadow paths for user dot and puck Performance enhancement suggested by https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/ImprovingAnimationPerformance/ImprovingAnimationPerformance.html * [ios] Rasterize pulsating inner dot of user location annotation Supposed performance enhancement and also improves edge smoothness.
* [ios] Refactored user location annotation into a customizable class (#5882)Jason Wray2016-08-161-0/+510
A new class, `MGLUserLocationAnnotationView`, has been added that inherits from `MGLAnnotationView`. Use a subclass of `MGLUserLocationAnnotationView` to customize the appearance of the user location annotation. Use your custom view with the `MGLMapView.userLocation` annotation via the `-mapView:viewForAnnotation:` delegate method.