RouteProjectionEngine
public protocol RouteProjectionEngine : ManageableEngine
The RouteProjectionEngine is responsible for projecting the input route to obtain map references if they are not provided.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Projects all routes and returns the result as a list of
ProjectedRoute.Throws
RouteProjectionEngineError.mapInaccessibleif access to map is not granted.Declaration
Swift
func project(navigationSnapshot: NavigationSnapshot) throws -> [ProjectedRoute]Parameters
navigationSnapshotThe
NavigationSnapshotthat contains the routes to be projected.Return Value
A list of projected routes.
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
RouteProjectionEngine