AlternativeType

public enum AlternativeType : String
extension AlternativeType: QueryItemConvertible

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

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Find any alternative route without considering if it’s better or worse.

    Declaration

    Swift

    case anyRoute
  • Only find routes which are better than the reference route.

    Declaration

    Swift

    case betterRoute