summaryrefslogtreecommitdiff
path: root/platform/ios/MGLUserLocation_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/MGLUserLocation_Private.h')
-rw-r--r--platform/ios/MGLUserLocation_Private.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/platform/ios/MGLUserLocation_Private.h b/platform/ios/MGLUserLocation_Private.h
index 147e3b3530..892ddfa478 100644
--- a/platform/ios/MGLUserLocation_Private.h
+++ b/platform/ios/MGLUserLocation_Private.h
@@ -1,11 +1,17 @@
#import "MGLUserLocation.h"
+NS_ASSUME_NONNULL_BEGIN
+
@class MGLMapView;
@interface MGLUserLocation (Private)
@property (nonatomic, weak) MGLMapView *mapView;
-@property (nonatomic, readwrite) CLLocation *location;
-@property (nonatomic, readwrite) CLHeading *heading;
+@property (nonatomic, readwrite, nullable) CLLocation *location;
+@property (nonatomic, readwrite, nullable) CLHeading *heading;
+
+- (instancetype)initWithMapView:(MGLMapView *)mapView;
@end
+
+NS_ASSUME_NONNULL_END