[ASMapNode] Some improvements to layout logic and snapshot triggering.

This commit is contained in:
Scott Goodson
2016-01-23 20:12:45 -08:00
parent 570d3e202f
commit 82f7956bf9
2 changed files with 28 additions and 5 deletions

View File

@@ -36,7 +36,8 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, assign, getter=isLiveMap) BOOL liveMap;
/**
@abstract Whether ASMapNode should automatically request a new map snapshot to correspond to the new node size. Defaults to YES.
@abstract Whether ASMapNode should automatically request a new map snapshot to correspond to the new node size.
@default Default value is YES.
@discussion If mapSize is set then this will be set to NO, since the size will be the same in all orientations.
*/
@property (nonatomic, assign) BOOL needsMapReloadOnBoundsChange;