SilentWaypoint
public struct SilentWaypoint : Codable, Equatable, ForeignMemberContainer
Represents a silent waypoint along the RouteLeg
.
See RouteLeg.viaWaypoints
for more details.
-
Declaration
Swift
public var foreignMembers: JSONObject
-
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
-
Declaration
Swift
public func encode(to encoder: Encoder) throws