Builder

class Builder

Properties

Link copied to clipboard

Features that are allowed while calculating a route.

Link copied to clipboard

Features that are avoided while calculating a route. Avoidance is on a best-case basis. If an avoidance can't be satisfied for a particular case, it violates the avoidance and the returned response produces a notice for the violation.

Link copied to clipboard

Uses the current time as the time of departure.

Link copied to clipboard

Time of departure from thr origin.

Link copied to clipboard

List of destinations for the route.

Link copied to clipboard

Features to be strictly excluded while calculating the route.

Link copied to clipboard
var key: String?

Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request.

Link copied to clipboard

Specifies the optimization criteria for calculating a route.

Link copied to clipboard

The position in longitude and latitude for the origin.

Link copied to clipboard

Boundary within which the matrix is to be calculated. All data, origins and destinations outside the boundary are considered invalid.

Link copied to clipboard

Traffic related options.

Link copied to clipboard

Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

Link copied to clipboard

Travel mode related options for the provided travel mode.

Functions