Itinerary
public final class Itinerary
extension Itinerary: Decodable
extension Itinerary: Equatable
extension Itinerary: Hashable
extension Itinerary: CustomDebugStringConvertible
extension Itinerary: CustomStringConvertible
-
Declaration
Swift
public let origin: Coordinate
-
Declaration
Swift
public let destination: Coordinate
-
Declaration
Swift
public let distance: CLLocationDistance
-
Declaration
Swift
public let duration: TimeInterval
-
Declaration
Swift
public let transitMode: TravelMode
-
Declaration
Swift
public let legs: [Leg]
-
Declaration
Swift
public lazy var legsCoordinates: [Coordinate] { get set }
-
Declaration
Swift
public lazy var legsSteps: [Step] { get set }
-
Declaration
Swift
public var legsSegments: [LegSegment] { get }
-
Declaration
Swift
public init(origin: Coordinate, destination: Coordinate, distance: CLLocationDistance, duration: TimeInterval, transitMode: TravelMode, legs: [Leg])
-
Declaration
Swift
public convenience init(origin: Coordinate, destination: Coordinate, segments: [LegSegment], transitMode: TravelMode = .walk)
-
Declaration
Swift
public func getProjection(coordinate: Coordinate) -> Projection?
-
Declaration
Swift
func toGeoJsonItinerary() -> GeoJsonItinerary
-
Declaration
Swift
public convenience init(from decoder: Decoder) throws
-
Declaration
Swift
public static func == (lhs: Itinerary, rhs: Itinerary) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Declaration
Swift
public var debugDescription: String { get }
-
Declaration
Swift
public var description: String { get }