Package-level declarations

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
data class RoutingException(val routingFailure: RoutingFailure) : RuntimeException

This class is a wrapper for RoutingFailure so it can be throw form route planner extensions such as planRouteAsFlow.

Functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun RoutePlanner.planRouteAsFlow(routePlanningOptions: RoutePlanningOptions): Flow<Route>

Asynchronously plans a route and its alternative routes using the provided RoutePlanningOptions object and returns the planned route as a flow of Route.