TilesetDescriptorFactory

extension TilesetDescriptorFactory
  • Gets TilesetDescriptor which corresponds to current Navigator dataset and the specified version.

    Declaration

    Swift

    public class func getSpecificVersion(forCacheLocation cacheLocation: TileStoreConfiguration.Location = .default, version: String) -> TilesetDescriptor

    Parameters

    cacheLocation

    A Location where cache data is stored.

    version

    TilesetDescriptor version.

  • Gets TilesetDescriptor which corresponds to the latest availble version of routing tiles.

    Intended for using when creating off-line tile packs.

    Declaration

    Swift

    public class func getLatest(forCacheLocation cacheLocation: TileStoreConfiguration.Location = .default) -> TilesetDescriptor

    Parameters

    location

    A Location where cache data is stored.