MMKOfflineCacheRegion
@interface MMKOfflineCacheRegion : NSObject |
Note
This feature is not available in the free MapKit version.
Summary
Class methods
+ (nonnull MMKOfflineCacheRegion *)regionWithId:( NSUInteger)id |
Properties
@property (nonatomic, readonly) NSUInteger id; |
@property (nonatomic, readonly, nonnull) NSString *name; |
@property (nonatomic, readonly, nonnull) NSString *country; |
@property (nonatomic, readonly, nonnull) MMKPoint *center; |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *size; |
@property (nonatomic, readonly, nonnull) NSDate *releaseTime; |
@property (nonatomic, readonly, nullable) NSNumber *parentId; |
Class methods
regionWithId:name:country:center:size:releaseTime:parentId:
+ (nonnull MMKOfflineCacheRegion *)regionWithId:( NSUInteger)id |
Properties
id
@property (nonatomic, readonly) NSUInteger id; |
Region ID.
name
@property (nonatomic, readonly, nonnull) NSString *name; |
Name of the region.
country
@property (nonatomic, readonly, nonnull) NSString *country; |
Country of the region.
center
@property (nonatomic, readonly, nonnull) MMKPoint *center; |
Center point.
size
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *size; |
Region size
releaseTime
@property (nonatomic, readonly, nonnull) NSDate *releaseTime; |
Returns the region creation time.
parentId
@property (nonatomic, readonly, nullable) NSNumber *parentId; |
Region id of the parent region.
Optional field, can be nil.