From 004d04075ad01253215ea7fcd7cd49bb61aabe7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Tue, 1 Dec 2015 15:34:15 -0800 Subject: [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. --- include/mbgl/osx/MGLAnnotationImage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.1