ASMapNode now supports MKMapSnapshotOptions as opposed to just a region property.

This commit is contained in:
Aaron Schubert
2016-01-05 13:44:41 +00:00
parent e35697d162
commit 45fa36eba5
2 changed files with 21 additions and 16 deletions

View File

@@ -12,9 +12,9 @@
@interface ASMapNode : ASImageNode
/**
The current region 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 region of the static snapshot (if .liveMap = NO) or the internal MKMapView (otherwise).
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).
*/
@property (nonatomic, assign) MKCoordinateRegion region;
@property (nonatomic, readwrite) MKMapSnapshotOptions *options;
/**
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.