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.
  • 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

    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.