OptimizedWaypoint

public struct OptimizedWaypoint : Decodable

Part of RoutingAPI response. Contains original and optimized waypoint index in the array of RouteStops.

  • Waypoint index in the input itinerary

    Declaration

    Swift

    public let providedIndex: Int
  • Waypoint index in the output route

    Declaration

    Swift

    public let optimizedIndex: Int