MMKOfflineCacheRegion

class MMKOfflineCacheRegion : NSObject

Note

This feature is not available in the free MapKit version.

Summary

Class methods

 init(id: UInt,
    name: String,
 country: String,
  center: MMKPoint,
    size: MMKLocalizedValue,
 releaseTime: Date,
 parentId: NSNumber?)

Properties

var id: UInt { get }
Region ID

var name: String { get }
Name of the region

var country: String { get }
Country of the region

var centerMMKPoint { get }
Center point

var sizeMMKLocalizedValue { get }
Region size

var releaseTime: Date { get }
Returns the region creation time

var parentId: NSNumber? { get }
Region id of the parent region

Class methods

init(id:name:country:center:size:releaseTime:parentId:)

 init(id: UInt,
    name: String,
 country: String,
  center: MMKPoint,
    size: MMKLocalizedValue,
 releaseTime: Date,
 parentId: NSNumber?)


Properties

id

var id: UInt { get }

Region ID.


name

var name: String { get }

Name of the region.


country

var country: String { get }

Country of the region.


center

var center: MMKPoint { get }

Center point.


size

var size: MMKLocalizedValue { get }

Region size


releaseTime

var releaseTime: Date { get }

Returns the region creation time.


parentId

var parentId: NSNumber? { get }

Region id of the parent region.

Optional field, can be nil.