diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-12-01 15:34:15 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-12-13 17:26:53 -0800 |
commit | 004d04075ad01253215ea7fcd7cd49bb61aabe7d (patch) | |
tree | 6e57b456d84e9c6cef63f757e901c00755bcfe91 /include | |
parent | f542d7b2a73ca63e2ab0099e998bd62bd57da9fc (diff) | |
download | qtlocation-mapboxgl-004d04075ad01253215ea7fcd7cd49bb61aabe7d.tar.gz |
[osx] Annotation cursors
Also added an option to osxapp for assigning a random cursor to all the annotations each time an annotation is added or removed.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/osx/MGLAnnotationImage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/osx/MGLAnnotationImage.h b/include/mbgl/osx/MGLAnnotationImage.h index e42e062022..66b623a5c1 100644 --- a/include/mbgl/osx/MGLAnnotationImage.h +++ b/include/mbgl/osx/MGLAnnotationImage.h @@ -12,6 +12,9 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly) NSString *reuseIdentifier; @property (nonatomic, getter=isSelectable) BOOL selectable; +/** The cursor that appears above any annotation using this annotation image. By default this property is set to `nil`, representing the current cursor. */ +@property (nonatomic, nullable) NSCursor *cursor; + @end NS_ASSUME_NONNULL_END |