NavigationTileStoreConfiguration
public struct NavigationTileStoreConfiguration
Configuration parameters for an [NavigationTileStore].
Important
This is a Public Preview API. It may be changed or removed at any time.-
API key to use to authenticate to the cloud service.
Declaration
Swift
public var apiKey: String
-
A URL describing the location of the navigation tile cloud service.
The parameter defaults to
Defaults.baseURL
.Declaration
Swift
public var baseURL: URL
-
A IETF language tag to use for the navigation tiles.
The parameter defaults to the current locale of the device.
Declaration
Swift
public var initialLanguage: Locale
-
Radius around the current position defining the minimum area for which navigation map data is prefetched and kept available. The actual area fetched can be greater than the requested radius. The larger the radius, the more robust the system is to temporary unavailability of the map data source, but at a greater memory cost. The network bandwidth cost will also be greater if the map data source is online. The value must be non-negative integer.
The parameter defaults to
Defaults.prefetchedAreaRadius
.Declaration
Swift
public var prefetchedAreaRadius: Measurement<UnitLength>
-
Size limit for in-memory store.
The parameter defaults to
Defaults.cacheMemoryMaxSize
.Declaration
Swift
public var cacheMemoryMaxSize: Measurement<UnitInformationStorage>
-
The maximal size (on disk) of the persistent store that holds navigation related data.
For value 0 persistent storing will be disabled. The parameter defaults to
Defaults.cacheStorageMaxSize
.Declaration
Swift
public var cacheStorageMaxSize: Measurement<UnitInformationStorage>
-
The toggle flag enabling access to lane tiles in the navigation tiles. When set to true, lane level visualization can display the road network with enhanced lane geometry.
Warning
enabling lane tiles will result in increased data consumption.The parameter defaults to
false
.Declaration
Swift
public var requestLaneTiles: Bool