sdk-routing / com.tomtom.online.sdk.routing.route.information / RouteLeg

RouteLeg

@PublicPreview("2021.06") data class RouteLeg : Serializable

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

Parameters

summary - A summary of a route leg.

points - A list of points.

Properties

points

val points: List<LatLng>

A list of points.

summary

val summary: Summary

A summary of a route leg.