diff options
Diffstat (limited to 'include/mbgl/ios/MGLAnnotationImage.h')
-rw-r--r-- | include/mbgl/ios/MGLAnnotationImage.h | 4 |
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) * |