RouteType

public enum RouteType : Equatable
extension RouteType: QueryItemConvertible

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

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Fast (travel time) and convenient route.

    Declaration

    Swift

    case fast
  • Route which compromises between convenience and a short travel distance.

    Declaration

    Swift

    case short
  • Route which optimizes consumption (fuel/energy).

    Declaration

    Swift

    case efficient
  • 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].

    Declaration

    Swift

    case thrilling(hilliness: Hilliness? = nil, windingness: Windingness? = nil)

    Parameters

    hilliness

    The desired [Hilliness].

    windingness

    The desired [Windingness].