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 RoutePoint
s 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
RouteProgressEngine
calculates the progress along the route for off-road navigation, usingRoutePoint
s along the route.Declaration
Swift
public static func create() -> RouteProgressEngine
Return Value
- An instance of
RouteProgressEngine
.
- An instance of