RouteLeg
data class RouteLeg(val points: List<<Error class: unknown class>>, val instructions: List<Instruction>, val summary: Summary, val mapReferences: <Error class: unknown class>? = null)
Represents information about a part of a Route, made up of a list of GeoPoint points. Contains a list of Instructions for all the maneuvers along the route leg.
Parameters
points
A list of GeoPoints that belong to the RouteLeg.
instructions
A list of Instructions that belong to the RouteLeg.
summary
A Summary of the route leg.
mapReferences
An optional MapReferences for the map data that belongs to RouteLeg.
Constructors
Link copied to clipboard
constructor(points: List<<Error class: unknown class>>, instructions: List<Instruction>, summary: Summary, mapReferences: <Error class: unknown class>? = null)