SilentWaypoint
public struct SilentWaypoint : Codable, Equatable
Represents a silent waypoint along the RouteLeg
.
See RouteLeg.viaWaypoints
for more details.
-
The associated waypoint index in
RouteResponse.waypoints
, excluding the origin (index 0) and destination.Declaration
Swift
public var waypointIndex: Int
-
The calculated distance, in meters, from the leg origin.
Declaration
Swift
public var distanceFromStart: Double
-
The associated
Route
shape index of the silent waypoint location.Declaration
Swift
public var shapeCoordinateIndex: Int
-
Declaration
Swift
public init(from decoder: Decoder) throws