summaryrefslogtreecommitdiff
path: root/platform/ios/src/Mapbox.h
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2016-08-16 15:16:59 -0400
committerGitHub <noreply@github.com>2016-08-16 15:16:59 -0400
commitf489ec2ee131725b42162edf0414241f9c6310d1 (patch)
tree87d1621831a3386f49a6d4a47362c59e9a338d21 /platform/ios/src/Mapbox.h
parent01b94de107de875a6889258e72e5e060c0de0881 (diff)
downloadqtlocation-mapboxgl-f489ec2ee131725b42162edf0414241f9c6310d1.tar.gz
[ios] Refactored user location annotation into a customizable class (#5882)
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.
Diffstat (limited to 'platform/ios/src/Mapbox.h')
-rw-r--r--platform/ios/src/Mapbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/src/Mapbox.h b/platform/ios/src/Mapbox.h
index d6c05503e9..24925d169c 100644
--- a/platform/ios/src/Mapbox.h
+++ b/platform/ios/src/Mapbox.h
@@ -47,6 +47,7 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import "MGLTilePyramidOfflineRegion.h"
#import "MGLTypes.h"
#import "MGLUserLocation.h"
+#import "MGLUserLocationAnnotationView.h"
#import "NSValue+MGLAdditions.h"
#import "MGLStyleAttributeValue.h"
#import "MGLStyleAttributeFunction.h"