summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-10-01 17:58:08 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-10-02 11:50:53 -0700
commit8cc3b12f1e8b47ecc930e8c4bb683ac1a57788eb (patch)
tree6f955bcfd7682b48e6a96935c1ff9a50983c86ca /include
parentddc4a8193e775d9cd9280ad7d9bb6975b4a323ee (diff)
downloadqtlocation-mapboxgl-8cc3b12f1e8b47ecc930e8c4bb683ac1a57788eb.tar.gz
[ios] fixes #2490: add annotation image enabled property
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/ios/MGLAnnotationImage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/ios/MGLAnnotationImage.h b/include/mbgl/ios/MGLAnnotationImage.h
index 44d17087bc..70bf8b7599 100644
--- a/include/mbgl/ios/MGLAnnotationImage.h
+++ b/include/mbgl/ios/MGLAnnotationImage.h
@@ -27,6 +27,11 @@ NS_ASSUME_NONNULL_BEGIN
* If you define distinctly different types of annotations (with distinctly different annotation images to go with them), you can differentiate between the annotation types by specifying different reuse identifiers for each one. */
@property (nonatomic, readonly) NSString *reuseIdentifier;
+/** A Boolean value indicating whether the annotation is enabled.
+*
+* The default value of this property is `YES`. If the value of this property is `NO`, the annotation image ignores touch events and cannot be selected. */
+@property (nonatomic, getter=isEnabled) BOOL enabled;
+
@end
NS_ASSUME_NONNULL_END