summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLCompassButton_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/src/MGLCompassButton_Private.h')
-rw-r--r--platform/ios/src/MGLCompassButton_Private.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/platform/ios/src/MGLCompassButton_Private.h b/platform/ios/src/MGLCompassButton_Private.h
new file mode 100644
index 0000000000..50918d8c45
--- /dev/null
+++ b/platform/ios/src/MGLCompassButton_Private.h
@@ -0,0 +1,20 @@
+#import <UIKit/UIKit.h>
+#import <CoreLocation/CoreLocation.h>
+
+#import <Mapbox/MGLCompassButton.h>
+
+@class MGLMapView;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MGLCompassButton (Private)
+
++ (instancetype)compassButtonWithMapView:(MGLMapView *)mapView;
+
+@property (nonatomic, weak) MGLMapView *mapView;
+
+- (void)updateCompassWithDirection:(CLLocationDirection)direction;
+
+@end
+
+NS_ASSUME_NONNULL_END