summaryrefslogtreecommitdiff
path: root/include/mbgl/osx/MGLAnnotationImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/osx/MGLAnnotationImage.h')
-rw-r--r--include/mbgl/osx/MGLAnnotationImage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/mbgl/osx/MGLAnnotationImage.h b/include/mbgl/osx/MGLAnnotationImage.h
new file mode 100644
index 0000000000..e42e062022
--- /dev/null
+++ b/include/mbgl/osx/MGLAnnotationImage.h
@@ -0,0 +1,17 @@
+#import <AppKit/AppKit.h>
+
+#import "MGLTypes.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MGLAnnotationImage : NSObject
+
++ (instancetype)annotationImageWithImage:(NSImage *)image reuseIdentifier:(NSString *)reuseIdentifier;
+
+@property (nonatomic, readonly) NSImage *image;
+@property (nonatomic, readonly) NSString *reuseIdentifier;
+@property (nonatomic, getter=isSelectable) BOOL selectable;
+
+@end
+
+NS_ASSUME_NONNULL_END