RouteLeg

data class RouteLeg(val points: List<GeoPoint>, val instructions: List<Instruction>, val summary: Summary, val mapReferences: MapReferences? = null)

Represents information about a part of a Route, made up of a list of GeoPoint points. Contains a list of Instructions for all the maneuvers along the route leg.

Parameters

points

A list of GeoPoints that belong to the RouteLeg.

instructions

A list of Instructions that belong to the RouteLeg.

summary

A Summary of the route leg.

mapReferences

An optional MapReferences for the map data that belongs to RouteLeg.

Constructors

Link copied to clipboard
fun RouteLeg(points: List<GeoPoint>, instructions: List<Instruction>, summary: Summary, mapReferences: MapReferences? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val mapReferences: MapReferences? = null
Link copied to clipboard
Link copied to clipboard