TileStoreConfiguration
public struct TileStoreConfiguration
Options for configuring how map and navigation tiles are stored on the device.
This struct encapsulates logic for handling default
and custom
paths as well as providing corresponding TileStore
s.
It also covers differences between tile storages for Map and Navigation data. Tupically, you won’t need to configure these and rely on defaults, unless you provide pre-downloaded data withing your app in which case you’ll need custom()
path to point to your data.
-
Describes filesystem location for tile storage folder
See moreDeclaration
Swift
public enum Location
-
Location of Navigator tiles data
Declaration
Swift
public let navigatorLocation: Location
-
Location of Map tiles data
Declaration
Swift
public let mapLocation: Location?
-
Tile data will be stored at default SDK location
Declaration
Swift
public static var `default`: `Self` { get }
-
Custom path to a folder, where tiles data will be stored
Declaration
Swift
public static func custom(_ url: URL) -> TileStoreConfiguration