RouteType

abstract class RouteType

Specifies the general strategy for selecting roads during route calculation.

Inheritors

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

Returns a string representation of the RouteType object.