ItineraryPoint

public struct ItineraryPoint

Represents the point of the route

Lifecycle

  • Initializes the ItineraryPoint

    Declaration

    Swift

    public init(place: Place, heading: Measurement<UnitAngle>? = nil)
  • Initializes the ItineraryPoint

    Declaration

    Swift

    public init(
        coordinate: CLLocationCoordinate2D,
        name: String? = nil,
        address: Address? = nil,
        heading: Measurement<UnitAngle>? = nil
    )

Public

  • id

    An unique identifier of the itinerary point

    Declaration

    Swift

    public let id: UUID
  • A Place which represents ItineraryPoint

    Declaration

    Swift

    public var place: Place
  • The direction in which we want to arrive and depart at this point, measured clockwise from North

    Declaration

    Swift

    public var heading: Measurement<UnitAngle>?