ProgressPoint
public struct ProgressPoint
Contains information about the progress for specific points on the route.
Important
This is a Public Preview API. It may be changed or removed at any time.-
The default initializer.
Declaration
Swift
public init(pointIndex: UInt, travelTime: Measurement<UnitDuration>?, distance: Measurement<UnitLength>?)Parameters
pointIndexIndex of point.
travelTimeTime to specified point.
distanceDistance to specified point.
-
Index of the point.
Declaration
Swift
public let pointIndex: UInt -
Time to specified point.
Declaration
Swift
public let travelTime: Measurement<UnitDuration>? -
Distance to specified point.
Declaration
Swift
public let distance: Measurement<UnitLength>?
ProgressPoint Structure Reference