@PublicPreview("2021.06") data class FullRoute : Serializable
Represents information about the route.
sections
- A list of route sections.
summary
- A summary of a route.
guidance
- Contains guidance related elements.
tag
- Route tag that can be used for serialization.
val guidance: RouteGuidance
Contains guidance related elements. |
|
val legs: List<RouteLeg>
A list of route legs. |
|
val sections: List<RouteSection>
A list of route sections. |
|
val summary: Summary
A summary of a route. |
|
var tag: String?
Route tag that can be used for serialization. |
fun getCoordinates(): List<LatLng>
Get route points from every RouteLeg combined. |