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
tileStoreA
NavigationTileStorefor accessing streamed navigation tile data.ndsMapContextAn
NDSMapContextfor accessing an onboard NDS map. 
- 
                  
                  
Returns the preferred data source. The default value is .online
Declaration
Swift
public var preferredDataSource: NavigationDataSource { get set } - 
                  
                  
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
positionNew value for current position.
 - 
                  
                  
Sets the active route.
Declaration
Swift
public func updateActiveRoute(_ polyline: [CLLocationCoordinate2D])Parameters
polylineThe polyline representing the active route.
 
        
 
          TomTom SDK for iOS (0.51.1)
        
          HybridNavigationDataStore