TilesetDescriptorFactory
extension TilesetDescriptorFactory
-
Gets TilesetDescriptor which corresponds to current Navigator dataset and the specified
version.Declaration
Swift
public class func getSpecificVersion(version: String, completionQueue: DispatchQueue = .main, datasetProfileIdentifier: ProfileIdentifier = .automobileAvoidingTraffic, completion: @escaping (TilesetDescriptor) -> Void)Parameters
versionTilesetDescriptor version.
completionQueueA DispatchQueue on which the completion will be called.
datasetProfileIdentifierProfile setting, used for selecting tiles type for navigation.
completionA completion that will be used to pass the tileset descriptor.
-
Gets TilesetDescriptor that corresponds to the latest available version of routing tiles.
It is intended to be used when creating off-line tile packs.
Declaration
Swift
public class func getLatest(completionQueue: DispatchQueue = .main, datasetProfileIdentifier: ProfileIdentifier = .automobileAvoidingTraffic, completion: @escaping (_ latestTilesetDescriptor: TilesetDescriptor) -> Void)Parameters
completionQueueA DispatchQueue on which the completion will be called.
datasetProfileIdentifierProfile setting, used for selecting tiles type for navigation.
completionA completion that will be used to pass the latest tileset descriptor.
Install in Dash
TilesetDescriptorFactory Extension Reference