Enumerations

The following enumerations are available globally.

AvoidType

  • Defines what kind of roads should be avoided while calculating a route. The given road types can still be considered during route planning but the computed routes will only contain them if no other routes exist or if avoiding such roads would result in a large detour. Please use Route Sections to check for violations.

    See more

    Declaration

    Swift

    public enum AvoidType

ConsiderTraffic

Hilliness

  • Represents the desired amount of hilliness for a thrilling route.

    Note

    This parameter can only be used in conjunction with routeType=thrilling

    Note

    This option is not yet supported with the Orbis map.
    See more

    Declaration

    Swift

    public enum Hilliness

RouteType

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

    See more

    Declaration

    Swift

    public enum RouteType : Equatable

Vignette

  • Either of avoidVignette or allowVignette.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Vignette
  • Used to decide how to optimize the order of waypoints.

    See more

    Declaration

    Swift

    public enum WaypointOptimization

Windingness

  • Represents the desired amount of turns for thrilling routes

    Note

    This parameter can only be used in conjunction with routeType=thrilling.

    Note

    This option is not yet supported with the Orbis map.
    See more

    Declaration

    Swift

    public enum Windingness