RouteProgress
public struct RouteProgress : Hashable
Contains all the relevant information on the user’s progress along a route.
-
The progress for each
Sectionfrom the current one to the last one. Note that the progress information is accumulated successively, therefore information relative to the final destination is in the last item of the list. The list is guaranteed to be non-empty.Declaration
Swift
public var sectionProgress: [SectionProgress] -
The progress for next and next-next maneuvers (see
Maneuver). Note that the list can contain at maximum two items (for next and next-next maneuvers) and one or zero when approaching the destination.Declaration
Swift
public var maneuverProgress: [ManeuverProgress] -
Route matched location.
Declaration
Swift
public var routeMatchedLocation: RouteMatchedLocation -
Creates a new instance.
Declaration
Swift
public init(sectionProgress: [SectionProgress], maneuverProgress: [ManeuverProgress], routeMatchedLocation: RouteMatchedLocation = RouteMatchedLocation())