Builder

class Builder

Properties

Link copied to clipboard

The distance between the leg's StartPosition and EndPosition along a calculated route.

Link copied to clipboard

The estimated travel time between the leg's StartPosition and EndPosition. The travel mode and departure time that you specify in the request determines the calculated time.

Link copied to clipboard

The terminating position of the leg. Follows the format [longitude,latitude].

Link copied to clipboard

Contains the calculated route's path as a linestring geometry.

Link copied to clipboard

The starting position of the leg. Follows the format [longitude,latitude].

Link copied to clipboard
var steps: List<Step>?

Contains a list of steps, which represent subsections of a leg. Each step provides instructions for how to move to the next step in the leg such as the step's start position, end position, travel distance, travel duration, and geometry offset.

Functions

Link copied to clipboard