AlternativeType

public enum AlternativeType

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

  • 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