summaryrefslogtreecommitdiff
path: root/include/mbgl/darwin/MGLShape.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-12-01 13:55:54 -0800
committerMinh Nguyễn <mxn@1ec5.org>2015-12-13 17:26:53 -0800
commitf542d7b2a73ca63e2ab0099e998bd62bd57da9fc (patch)
tree892c79187f5dc29b90054e9f6ddaa1bc9d94023e /include/mbgl/darwin/MGLShape.h
parent96145ef1707516484913447de95f33a77d8a59eb (diff)
downloadqtlocation-mapboxgl-f542d7b2a73ca63e2ab0099e998bd62bd57da9fc.tar.gz
[osx] Annotation tooltips
Annotations can optionally have tooltips. osxapp has an option, off by default, to assign a (localized) tooltip to each dropped pin.
Diffstat (limited to 'include/mbgl/darwin/MGLShape.h')
-rw-r--r--include/mbgl/darwin/MGLShape.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mbgl/darwin/MGLShape.h b/include/mbgl/darwin/MGLShape.h
index f54d4bfb74..c1b84816f2 100644
--- a/include/mbgl/darwin/MGLShape.h
+++ b/include/mbgl/darwin/MGLShape.h
@@ -15,6 +15,13 @@ NS_ASSUME_NONNULL_BEGIN
/** The subtitle of the shape annotation. The default value of this property is `nil`. */
@property (nonatomic, copy, nullable) NSString *subtitle;
+#if !TARGET_OS_IPHONE
+
+/** The tooltip of the shape annotation. The default value of this property is `nil`. */
+@property (nonatomic, copy, nullable) NSString *toolTip;
+
+#endif
+
@end
NS_ASSUME_NONNULL_END