DistanceRouteElementsResponse

data class DistanceRouteElementsResponse(val overviewPolyline: EncodedPolyline, val bounds: LatLngBounds, val notice: String, val legs: List<DistanceLeg>)

Attributes describing routes from an origin to a destination returned in distance route response.

Parameters

overviewPolyline
bounds
notice

Some noticeable information about the route

legs

Legs part of the route response

Constructors

Link copied to clipboard
constructor(overviewPolyline: EncodedPolyline, bounds: LatLngBounds, notice: String, legs: List<DistanceLeg>)

Properties

Link copied to clipboard
@SerializedName(value = "bounds")
val bounds: LatLngBounds
Link copied to clipboard
@SerializedName(value = "legs")
val legs: List<DistanceLeg>
Link copied to clipboard
@SerializedName(value = "notice")
val notice: String
Link copied to clipboard
@SerializedName(value = "overview_polyline")
val overviewPolyline: EncodedPolyline