OffRoadRouteProgressEngineFactory
public enum OffRoadRouteProgressEngineFactory
Factory for creating an off-road RouteProgressEngine instance.
This factory creates an instance of the RouteProgressEngine that is specifically designed for off-road navigation.
The RouteProgressEngine is used to calculate the progress along the route, including the user’s position, speed, estimated time of arrival, and current location.
For off-road navigation, progress is calculated using RoutePoints along the route in straight-line distance without taking into account the estimated time of arrival or speed, only the raw location of the vehicle.
To create a default off-road Navigation, check the OffRoadTomTomNavigationFactory class.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
RouteProgressEngine.This engine handles route progress for off-road navigation. The
RouteProgressEnginecalculates the progress along the route for off-road navigation, usingRoutePoints along the route.Declaration
Swift
public static func create() -> RouteProgressEngineReturn Value
- An instance of
RouteProgressEngine.
- An instance of
TomTom SDK for iOS (0.53.1)
OffRoadRouteProgressEngineFactory