summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRomain Quidet <romain.quidet.ext@mappy.com>2015-11-30 14:16:00 +0100
committerMinh Nguyễn <mxn@1ec5.org>2015-12-15 16:36:17 -0800
commit02a32b55e4ec392d213d435354bbcd2f33cef40c (patch)
treea4533ea19d8cd277aad14804fc2f3e15bce1b872 /include
parent9d0ab5549ceb9da57293cf5259a4a00eb4383260 (diff)
downloadqtlocation-mapboxgl-02a32b55e4ec392d213d435354bbcd2f33cef40c.tar.gz
2210: MGLAnnotationImage image can be update
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/ios/MGLAnnotationImage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/ios/MGLAnnotationImage.h b/include/mbgl/ios/MGLAnnotationImage.h
index 70bf8b7599..efc79ffb90 100644
--- a/include/mbgl/ios/MGLAnnotationImage.h
+++ b/include/mbgl/ios/MGLAnnotationImage.h
@@ -13,12 +13,12 @@ NS_ASSUME_NONNULL_BEGIN
* @param image The image to be displayed for the annotation.
* @param reuseIdentifier The string that identifies that this annotation image is reusable.
* @return The initialized annotation image object or `nil` if there was a problem initializing the object. */
-+ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(NSString *)reuseIdentifier;
++ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(nullable NSString *)reuseIdentifier;
/** @name Getting and Setting Attributes */
/** The image to be displayed for the annotation. */
-@property (nonatomic, readonly) UIImage *image;
+@property (nonatomic, strong) UIImage *image;
/** The string that identifies that this annotation image is reusable. (read-only)
*