summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/MGLAnnotationImage.h
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-07-06 18:08:16 -0700
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:46:03 +0200
commit5ab58deb44de2361bf7ed943c561cb4f68fac317 (patch)
tree7f7bab297646905093908aa46ef35791e417a539 /include/mbgl/ios/MGLAnnotationImage.h
parent1f4b5e773634f12c00b6d6c846defc908ec79604 (diff)
downloadqtlocation-mapboxgl-5ab58deb44de2361bf7ed943c561cb4f68fac317.tar.gz
Cocoa custom marker imagery API
Diffstat (limited to 'include/mbgl/ios/MGLAnnotationImage.h')
-rw-r--r--include/mbgl/ios/MGLAnnotationImage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLAnnotationImage.h b/include/mbgl/ios/MGLAnnotationImage.h
new file mode 100644
index 0000000000..142f794a09
--- /dev/null
+++ b/include/mbgl/ios/MGLAnnotationImage.h
@@ -0,0 +1,10 @@
+#import <UIKit/UIKit.h>
+
+@interface MGLAnnotationImage : NSObject
+
+@property (nonatomic, readonly) UIImage *image;
+@property (nonatomic, readonly) NSString *reuseIdentifier;
+
++ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(NSString *)reuseIdentifier;
+
+@end