Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 239ec6f

Browse files
[ASMapNode] Updated comment of options property.
1 parent 45fa36e commit 239ec6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AsyncDisplayKit/ASMapNode.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
@interface ASMapNode : ASImageNode
1313

1414
/**
15-
The current options of ASMapNode. This can be set at any time and ASMapNode will animate the change. This property may be set from a background thread before the node is loaded, and will automatically be applied to define the behavior of the static snapshot (if .liveMap = NO) or the internal MKMapView (otherwise).
15+
The current options of ASMapNode. This can be set at any time and ASMapNode will animate the change.<br><br>This property may be set from a background thread before the node is loaded, and will automatically be applied to define the behavior of the static snapshot (if .liveMap = NO) or the internal MKMapView (otherwise).<br><br> Changes to the region and camera options will only be animated when when the liveMap mode is enabled, otherwise these options will be applied statically to the new snapshot. <br><br> The options object is used to specify properties even when the liveMap mode is enabled, allowing seamless transitions between the snapshot and liveMap (as well as back to the snapshot).
1616
*/
17-
@property (nonatomic, readwrite) MKMapSnapshotOptions *options;
17+
@property (nonatomic, strong) MKMapSnapshotOptions *options;
1818

1919
/**
2020
This is the MKMapView that is the live map part of ASMapNode. This will be nil if .liveMap = NO. Note, MKMapView is *not* thread-safe.
@@ -38,7 +38,7 @@
3838
@property (nonatomic, weak) id <MKMapViewDelegate> mapDelegate;
3939

4040
/**
41-
* @discussion This method set the annotations of the static map view and also to the live map view. Passing an empty array clears the map of any annotations.
41+
* @discussion This method sets the annotations of the static map view and also to the live map view. Passing an empty array clears the map of any annotations.
4242
* @param annotations An array of objects that conform to the MKAnnotation protocol
4343
*/
4444
- (void)setAnnotations:(NSArray *)annotations;

0 commit comments

Comments
 (0)