Route
data class Route( val id: RouteId, val summary: Summary, val legs: List<RouteLeg>, val routePoints: List<RoutePoint>, val sections: Sections, val routeCoordinates: List<RouteCoordinate> = emptyList())
Content copied to clipboard
The route class contains the route to be navigated, including geometry and generated guidance messages.
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.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Returns all GeoCoordinates of this route.
Link copied to clipboard