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

FullRoute

@Beta(2020, 12) data class FullRoute : Serializable

Represents information about the route.

Parameters

legs - A list of route legs.

sections - A list of route sections.

summary - A summary of a route.

guidance - Contains guidance related elements.

tag - Route tag that can be used for serialization.

Properties

guidance

val guidance: RouteGuidance

Contains guidance related elements.

legs

val legs: List<RouteLeg>

A list of route legs.

sections

val sections: List<RouteSection>

A list of route sections.

summary

val summary: Summary

A summary of a route.

tag

var tag: String?

Route tag that can be used for serialization.

Functions

getCoordinates

fun getCoordinates(): List<LatLng>

Get route points from every RouteLeg combined.