RouteType

public enum RouteType : Equatable

Specifies if a route is optimized for travel time, short path length, or other goals.

  • Fast (travel time) and convenient route.

    Declaration

    Swift

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

    Note

    This value is not supported when chargingOptions are set in RoutePlanningOptions.

    Declaration

    Swift

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

    Note

    This value is not supported when chargingOptions are set in RoutePlanningOptions.

    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].

    Note

    This value is not supported when chargingOptions are set in RoutePlanningOptions.

    Note

    The parameters hilliness and windingness are not yet supported with the Orbis map.

    Declaration

    Swift

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

    Parameters

    hilliness

    The desired [Hilliness].

    windingness

    The desired [Windingness].