Route
fun Route( id: RouteId, summary: Summary, legs: List<RouteLeg>, routePoints: List<RoutePoint>, sections: Sections, routeCoordinates: List<RouteCoordinate> = emptyList(), forkPoints: List<ForkPoint> = emptyList())
Content copied to clipboard
Parameters
id
Unique ID.
summary
A collection of data fields representing the properties of the route.
legs
List of route legs.
routePoints
List containing every waypoint along the route, including origin and destination.
sections
Information about sections of the route.
routeCoordinates
Optional extended representation of the route.
forkPoints
List containing fork points with other routes.