Builder

class Builder

Properties

Link copied to clipboard

The data provider of traffic and road network data used to calculate the route. Indicates one of the available providers:

Link copied to clipboard

The total distance covered by the route. The sum of the distance travelled between every stop on the route.

Link copied to clipboard

The unit of measurement for route distances.

Link copied to clipboard

The total travel time for the route measured in seconds. The sum of the travel time between every stop on the route.

Link copied to clipboard

Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].