sdk-routing / com.tomtom.online.sdk.routing.ev.route / Leg

Leg

@Beta(2020, 10) class Leg

Represents information about a part of a route, comprised of a list of points.

Parameters

legSummary - A summary of a route leg.

points - A list of points.

Constructors

<init>

Leg(legSummary: LegSummary?, points: List<LatLng>)

Represents information about a part of a route, comprised of a list of points.

Properties

legSummary

val legSummary: LegSummary?

A summary of a route leg.

points

val points: List<LatLng>

A list of points.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int