diff options
author | Jason Wray <jason@mapbox.com> | 2017-08-30 12:35:20 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-09-07 19:23:29 -0400 |
commit | 99616e662704f3c778d002fc711ec1288fd6d142 (patch) | |
tree | 0150330f84ddb7003d17cf615565721ab230791b /platform/ios/src/MGLUserLocationHeadingBeamLayer.h | |
parent | c35b1cd56ba8f4a3d4f195237e025bb24bfa4c43 (diff) | |
download | qtlocation-mapboxgl-99616e662704f3c778d002fc711ec1288fd6d142.tar.gz |
[ios] Introduce MGLUserLocationHeadingIndicator protocol
Diffstat (limited to 'platform/ios/src/MGLUserLocationHeadingBeamLayer.h')
-rw-r--r-- | platform/ios/src/MGLUserLocationHeadingBeamLayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/src/MGLUserLocationHeadingBeamLayer.h b/platform/ios/src/MGLUserLocationHeadingBeamLayer.h index 9a5d4a8f14..93f8ea17ab 100644 --- a/platform/ios/src/MGLUserLocationHeadingBeamLayer.h +++ b/platform/ios/src/MGLUserLocationHeadingBeamLayer.h @@ -1,9 +1,10 @@ #import <QuartzCore/QuartzCore.h> #import "MGLUserLocationAnnotationView.h" +#import "MGLUserLocationHeadingIndicator.h" -@interface MGLUserLocationHeadingBeamLayer : CALayer +@interface MGLUserLocationHeadingBeamLayer : CALayer <MGLUserLocationHeadingIndicator> -- (instancetype)initWithUserLocationAnnotationView:(MGLUserLocationAnnotationView *)userLocationView; +- (MGLUserLocationHeadingBeamLayer *)initWithUserLocationAnnotationView:(MGLUserLocationAnnotationView *)userLocationView; - (void)updateHeadingAccuracy:(CLLocationDirection)accuracy; - (void)updateTintColor:(CGColorRef)color; |