UnfollowedRoute

public struct UnfollowedRoute

Represents the routes that are not currently followed (unfollowed) within the NavigationSession. An unfollowed route comprises a Route within the NavigationSession that is not currently followed and a back-to-route point. This is the closest point on the route to the current location.

Important

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

Lifecycle

  • Initializes an unfollowed route.

    Declaration

    Swift

    public init(route: Route, backToRoutePoint: CLLocationCoordinate2D)

Public

  • Represents an unfollowed Route.

    Declaration

    Swift

    public let route: Route
  • Represents the back to route point for the unfollowed route.

    Declaration

    Swift

    public let backToRoutePoint: CLLocationCoordinate2D