RouteLeg

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

Represents information about a part of a Route, made up of a list of GeoCoordinate points.

Parameters

points

A list of GeoCoordinates that belong to the RouteLeg.

instructions

A list of Instructions that belong to the RouteLeg.

mapReferences

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

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

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

Properties

Link copied to clipboard
val instructions: List<Instruction>
Link copied to clipboard
val mapReferences: MapReferences? = null
Link copied to clipboard
val points: List<GeoCoordinate>