Distance Route Elements Response
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
overview Polyline
Encoded polyline string
bounds
Bounds of the returned route
notice
Some noticeable information about the route
legs
Legs of the returned route DistanceLeg
Constructors
Link copied to clipboard
constructor(overviewPolyline: EncodedPolyline, bounds: LatLngBounds, notice: String, legs: List<DistanceLeg>)