diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-12-01 13:55:54 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-12-13 17:26:53 -0800 |
commit | f542d7b2a73ca63e2ab0099e998bd62bd57da9fc (patch) | |
tree | 892c79187f5dc29b90054e9f6ddaa1bc9d94023e /include/mbgl/darwin/MGLShape.h | |
parent | 96145ef1707516484913447de95f33a77d8a59eb (diff) | |
download | qtlocation-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.h | 7 |
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 |