HybridNavigationDataStore
public final class HybridNavigationDataStore : UpdatableDataStore
Implementation of a Hybrid Data Store.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an object with associated tile and NDS stores.
Declaration
Swift
public init(tileStore: NavigationTileStore, ndsMapContext: NDSMapContext)
Parameters
tileStore
A
NavigationTileStore
for accessing streamed navigation tile data.ndsMapContext
An
NDSMapContext
for accessing an onboard NDS map.
-
DataStore which is based on streamed navigation tile data.
Declaration
Swift
public var onlineDataStore: NavigationTileStore { get }
-
DataStore which is based on an onboard map.
Declaration
Swift
public var offlineDataStore: NDSStore { get }
-
Update mode indicates which data store(s) will have updates triggered
Declaration
Swift
public var updateMode: DataStoreUpdateMode { get set }
-
Sets current position.
Declaration
Swift
public func updatePosition(_ position: CLLocationCoordinate2D)
Parameters
position
New value for current position.
-
Sets the active route.
Declaration
Swift
public func updateActiveRoute(_ polyline: [CLLocationCoordinate2D])
Parameters
polyline
The polyline representing the active route.