RouteLeg

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

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.