sdk-routing / com.tomtom.online.sdk.routing.data / RouteLeg

RouteLeg

open class RouteLeg : Serializable

A description of the part of a route comprised of a list of points.

Constructors

<init>

RouteLeg()

Empty constructor for the RouteLeg.

RouteLeg(summary: Summary!, points: Array<LatLng!>!)

Default constructor for the RouteLeg.

Properties

points

var points: Array<LatLng!>!

A group of locations defined as a latitude longitude pair.

summary

var summary: Summary!

A summary of a route leg.

Functions

getPoints

open fun getPoints(): Array<LatLng!>!

Returns a group of locations defined as a latitude longitude pair.

getSummary

open fun getSummary(): Summary!

Returns a summary of a route leg.

toString

open fun toString(): String