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.mapInaccessible
if access to map is not granted.Declaration
Swift
func project(navigationSnapshot: NavigationSnapshot) throws -> [ProjectedRoute]
Parameters
navigationSnapshot
The
NavigationSnapshot
that contains the routes to be projected.Return Value
A list of projected routes.