DistanceRouteElementsResponse

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

Parameters

overviewPolyline

Encoded polyline string

bounds

Bounds of the returned route

notice

Some noticeable information about the route

legs

Legs of the returned route DistanceLeg