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.h19
1 files changed, 19 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..c9741d79e3
--- /dev/null
+++ b/platform/ios/src/MGLCompassButton_Private.h
@@ -0,0 +1,19 @@
+#import <UIKit/UIKit.h>
+
+#import <Mapbox/MGLCompassButton.h>
+
+@class MGLMapView;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MGLCompassButton (Private)
+
++ (instancetype)compassButtonWithMapView:(MGLMapView *)mapView;
+
+@property (nonatomic, weak) MGLMapView *mapView;
+
+- (void)updateCompass;
+
+@end
+
+NS_ASSUME_NONNULL_END