Builder

class Builder(baseUrl: String, user: String, profile: String, coordinates: List<@Serializable(with = PointSerializer::class) Point>)

Builder class for creating RouteOptions instances.

Parameters

baseUrl

The same base URL which was used during the request that resulted in this root directions response.

user

The same user which was used during the request that resulted in this root directions response.

profile

The routing profile to use.

coordinates

A list of Points to visit in order.

requestUuid

A universally unique identifier (UUID) for identifying and executing a similar specific route in the future.

Constructors

Link copied to clipboard
constructor(baseUrl: String, user: String, profile: String, coordinates: List<@Serializable(with = PointSerializer::class) Point>)

Functions

Link copied to clipboard

Builds a RouteOptions instance with the current builder values.

Link copied to clipboard

Sets the access token.

Link copied to clipboard

Sets the alternatives.

Link copied to clipboard

Sets the annotations.

Link copied to clipboard

Sets the approaches.

Link copied to clipboard

Sets the banner instructions option.

Link copied to clipboard

Sets the bearings.

Link copied to clipboard

Sets the continue straight option.

Link copied to clipboard

Sets the exclude option.

Link copied to clipboard

Sets the geometries.

Link copied to clipboard

Sets the language.

Link copied to clipboard

Sets the overview.

Link copied to clipboard

Sets the radiuses.

Link copied to clipboard

Sets the UUID for requests.

Link copied to clipboard

Sets the roundabout exits option.

Link copied to clipboard

Sets the snapping closures.

Link copied to clipboard

Sets the steps option.

Link copied to clipboard

Sets the voice instructions option.

Link copied to clipboard

Sets the voice units.

Link copied to clipboard

Sets the walking options.

Link copied to clipboard

Sets the waypoint indices.

Link copied to clipboard

Sets the waypoint names.

Link copied to clipboard

Sets the waypoint targets.