DashRouteOptionsInit

Properties

Link copied to clipboard
abstract var alleyBias: Double?

A scale from -1 to 1, where -1 biases the route against alleys and 1 biases the route toward alleys. If null, default is 0, which is neutral.

Link copied to clipboard
abstract var avoidFerries: Boolean

Avoid ferry rider across waterways.

Link copied to clipboard
abstract var avoidHighways: Boolean

Avoid highways.

Link copied to clipboard
abstract var avoidTolls: Boolean

Avoid roads with tolls.

Link copied to clipboard
Link copied to clipboard
abstract var maxWidth: Double?

The max vehicle width in meters. If this parameter is provided, the Directions API will compute a route that includes only roads with a width limit greater than or equal to the max vehicle width. max_width must be between 0 and 10 meters. The default value is 1.9 meters.

Link copied to clipboard
abstract var user: String

The user parameter of the routing request.