RouteType

abstract class RouteType

This represents the 'routeType' parameter in a Request to the Routing API.

Types

Link copied to clipboard

Route which optimizes consumption (fuel/energy).

Link copied to clipboard
object Fast : RouteType

Fast (travel time) and convenient route.

Link copied to clipboard
object Short : RouteType

Route which compromises between convenience and a short travel distance.

Link copied to clipboard
data class Thrilling(val hilliness: Hilliness? = null, val windingness: Windingness? = null) : RouteType

Route which includes interesting or challenging roads and uses as few motorways as possible. You can set the desired road curvature and the degree of hilliness. There is a limit of 900km on routes planned with RouteType.Thrilling.

Functions

Link copied to clipboard
open override fun toString(): String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard