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

Hilliness

  • Represents the desired amount of hilliness for a thrilling route. Note: This parameter can only be used in conjunction with routeType=thrilling

    Declaration

    Swift

    public enum Hilliness

RouteType

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

    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.

    Declaration

    Swift

    public enum Windingness

ExtendedRouteRepresentation

  • Represents the ‘extendedRouteRepresentation’ parameter values in a Request to the Routing API.

    Declaration

    Swift

    public enum ExtendedRouteRepresentation : CaseIterable

Budget

  • Budget for determining maximum range which can be traveled.

    Important

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

    Declaration

    Swift

    public enum Budget : CustomStringConvertible, Hashable

RouteRepresentation

  • Specifies the representation of the set of routes provided as a response.

    See more

    Declaration

    Swift

    public enum RouteRepresentation

AlternativeType

  • Represents the ‘alternativeType’ parameter in a Request to the Routing API.

    See more

    Declaration

    Swift

    public enum AlternativeType

AnnouncementPoints

  • Specifies whether to include announcement points in instructions. Supported only in routing with extended guidance.

    Important

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

    Declaration

    Swift

    public enum AnnouncementPoints

ArrivalSidePreference

  • Road side on arrival preference for waypoints and destination.

    Important

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

    Declaration

    Swift

    public enum ArrivalSidePreference
  • Specifies whether to include extended guidance sections in the response, such as road shield, lane, and speed limit sections.

    Important

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

    Declaration

    Swift

    public enum ExtendedSections

GuidanceOptionError

  • List of exceptions that can be thrown during the creation of GuidanceOptions.

    Important

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

    Declaration

    Swift

    public enum GuidanceOptionError : Error, Equatable
    extension GuidanceOptionError: LocalizedError

InstructionPhoneticsType

  • Specifies whether to include the phonetic transcription of street names, signpost text, and road numbers in the instruction.

    When using any value other than none, phonetic information will be returned in the Response as follows:

    • Instructions containing a Instruction.street street field are extended with:

      • Instruction.phoneticStreet: Phonetic string in the requested phonetic format.
      • Instruction.phoneticStreetLanguageCode: Language code in which the phonetic string is encoded.
    • Instructions containing a [Instruction.signpostText] field are extended with:

      • Instruction.phoneticSignPostText: Phonetic string in the requested phonetic format.
      • Instruction.phoneticSignPostTextLanguageCode: Language code in which the phonetic string is encoded.
    • Instructions containing a [Instruction.roadNumbers] array are extended with:

      • Instruction.phoneticRoadNumbers: Array of phonetic strings in the requested phonetic format corresponding to the respective elements of the roadNumbers array.
      • Instruction.phoneticRoadNumberLanguageCodes: Array of language codes in which the respective phonetic strings are encoded.

    Important

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

    See more

    Declaration

    Swift

    public enum InstructionPhoneticsType
    extension InstructionPhoneticsType: Codable

InstructionType

  • Represents the ‘instructionsType’ parameter in a Request to the Routing API.

    Important

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

    Declaration

    Swift

    public enum InstructionType
  • GuidanceVersion defines the Guidance API version to be used.

    Important

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

    Declaration

    Swift

    public enum OnlineApiVersion : Int
  • Specifies whether to include progress points (travel time and distance points) in the response.

    See more

    Declaration

    Swift

    public enum ProgressPoints

RoadShieldReferences

  • Specifies whether to include road shield references into the external road shields atlas. Instructions contain roadShieldReferences

    Important

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

    Declaration

    Swift

    public enum RoadShieldReferences

SectionType

  • Represents types of sections of the route

    See more

    Declaration

    Swift

    public enum SectionType : CaseIterable
  • RouteInformationMode defines how much guidance information (instructions and lane guidance) is returned with the route from the RoutePlanner.planRoute() function.

    Important

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

    Declaration

    Swift

    public enum RouteInformationMode

RoutingOptionsError

  • Represents routing options error.

    See more

    Declaration

    Swift

    public enum RoutingOptionsError : Error, Equatable
    extension RoutingOptionsError: LocalizedError