RouteLeg

constructor(points: List<GeoPoint>, instructions: List<Instruction>, summary: Summary, mapReferences: MapReferences? = null)

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.