ExitAutoTransportGuidanceInstruction

public struct ExitAutoTransportGuidanceInstruction : GuidanceInstruction

Guidance Instruction indicating exiting a vehicle transportation service through a terminal.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializes the guidance instruction, specifying values for its fields.

    Declaration

    Swift

    public init(
        id: UUID = UUID(),
        routeOffset: Measurement<UnitLength>,
        travelTime: Measurement<UnitDuration>,
        maneuverPoint: CLLocationCoordinate2D,
        drivingSide: DrivingSide?,
        combinedWithNext: Bool,
        previousSignificantRoad: RoadInformation?,
        nextSignificantRoad: RoadInformation?,
        routePath: [RouteCoordinate],
        intersectionName: String?,
        signpost: Signpost?,
        autoTransportType: AutoTransportType,
        borderCrossing: BorderCrossing?
    )

    Parameters

    uuid

    The ID of the instruction.

    routeOffset

    The distance from the start of the route to the instruction point.

    travelTime

    Estimated travel time to the point at routeOffset.

    maneuverPoint

    Location of the maneuver expressed as CLLocationCoordinate2D.

    drivingSide

    Indicates left-hand vs. right-hand side driving at the point of the maneuver.

    combinedWithNext

    Indicates whether the instruction should be combined with the next one. This can be used to build messages like “Turn left and then turn right”.

    previousSignificantRoad

    Information about the road the driver will be on immediately before starting the maneuver, if available for this instruction.

    nextSignificantRoad

    Information about the road the driver will be on immediately after completing the maneuver.

    routePath

    A list of RouteCoordinates that represents a route path.

    intersectionName

    Name of the intersection at the maneuver point, if present for this instruction.

    signpost

    Signpost information, if present for this instruction.

    autoTransportType

    Type of the auto transport system.

    borderCrossing

    Border crossing information.

Public

  • id

    The ID of the instruction.

    Declaration

    Swift

    public let id: UUID
  • The distance from the start of the route to the instruction point.

    Declaration

    Swift

    public let routeOffset: Measurement<UnitLength>
  • The estimated travel time to the point at routeOffset.

    Declaration

    Swift

    public let travelTime: Measurement<UnitDuration>
  • Location of the maneuver expressed as a CLLocationCoordinate2D.

    Declaration

    Swift

    public let maneuverPoint: CLLocationCoordinate2D
  • Indicates left-hand vs. right-hand side driving at the point of the maneuver.

    Declaration

    Swift

    public let drivingSide: DrivingSide?
  • Indicates if the instruction should be combined with the next one. This can be used to build messages like “Turn left and then turn right”.

    Declaration

    Swift

    public let combinedWithNext: Bool
  • Information about the road the driver will be on immediately before starting the maneuver, if available for this instruction.

    Declaration

    Swift

    public let previousSignificantRoad: RoadInformation?
  • Information about the road the driver will be on immediately after completing the maneuver, if available for this instruction.

    Declaration

    Swift

    public let nextSignificantRoad: RoadInformation?
  • An array of RouteCoordinate‘s that represents a route path.

    Declaration

    Swift

    public let routePath: [RouteCoordinate]
  • Name of the intersection at the maneuver point, if present for this instruction.

    Declaration

    Swift

    public let intersectionName: String?
  • Signpost information, if present for this instruction.

    Declaration

    Swift

    public let signpost: Signpost?
  • Type of the auto transport system.

    Declaration

    Swift

    public let autoTransportType: AutoTransportType
  • Border crossing information, if any.

    Declaration

    Swift

    public let borderCrossing: BorderCrossing?