open class FullRoute : MatchingDataProvider, Serializable
A description of a route comprised of a list of legs.
FullRoute()
Empty constructor for the FullRoute(summary: Summary!, legs: Array<RouteLeg!>!, sections: Array<RouteSection!>!, guidance: RouteGuidance!)
Default constructor for the |
var guidance: RouteGuidance!
Contains guidance related elements. This field is present only when guidance was requested and is available. |
|
var legs: Array<RouteLeg!>!
A description of a part of a route, comprised of a list of points. Each additional waypoint provided in the Request will result in an additional leg in the returned route. |
|
var sections: Array<RouteSection!>!
Available inside elements. Contains one or more elements. The inner structure of a element is given below. |
|
var summary: Summary!
A summary of a route. |
|
var tag: Any!
Keeps any object to serialize and restore after rotation. String is best for serialization. |
open fun asMatchingDataProvider(): MatchingDataProvider
Get route as |
|
open fun getCoordinates(): MutableList<LatLng!>
Get route points. |
|
open fun getGuidance(): RouteGuidance!
Returns the guidance related elements. |
|
open fun getLegs(): Array<RouteLeg!>!
Returns a description of a part of a route, comprised of a list of points. |
|
open fun getSections(): Array<RouteSection!>!
Returns available inside elements. Contains one or more elements. The inner structure of a element is given below. |
|
open fun getSummary(): Summary!
Returns a summary of a route. |
|
open fun getTag(): Any!
Returns the currently set tag. |
|
open fun setTag(tag: Any!): Unit
Sets a new tag. |
|
open fun toString(): String |