diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-07-06 18:08:16 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-07-08 19:46:03 +0200 |
commit | 5ab58deb44de2361bf7ed943c561cb4f68fac317 (patch) | |
tree | 7f7bab297646905093908aa46ef35791e417a539 /include/mbgl/ios/MGLAnnotationImage.h | |
parent | 1f4b5e773634f12c00b6d6c846defc908ec79604 (diff) | |
download | qtlocation-mapboxgl-5ab58deb44de2361bf7ed943c561cb4f68fac317.tar.gz |
Cocoa custom marker imagery API
Diffstat (limited to 'include/mbgl/ios/MGLAnnotationImage.h')
-rw-r--r-- | include/mbgl/ios/MGLAnnotationImage.h | 10 |
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 |