BackToRouteOptions

public struct BackToRouteOptions

Options for planning back to route.

BackToRouteOptions encapsulates all the necessary data and options required for replanning a route in navigation scenarios.

Important

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

    Declaration

    Swift

    public private(set) var currentLocation: GeoLocation { get }
  • The current route.

    Declaration

    Swift

    public private(set) var currentRoute: Route { get }
  • The options for planning the route.

    Declaration

    Swift

    public private(set) var currentRouteOptions: RoutePlanningOptions { get }
  • The current distance traveled along the route.

    Declaration

    Swift

    public private(set) var currentDistanceAlongRoute: Measurement<UnitLength> { get }
  • The number of waypoints visited so far.

    Declaration

    Swift

    public private(set) var numberOfVisitedWaypoints: Int { get }