ItineraryOptions

public struct ItineraryOptions

A struct containing information about itinerary options.

  • The struct containing information about the options of the indoor part(s) of the itinerary.

    Declaration

    Swift

    public let indoorLine: LineOptions
  • The struct containing information about the options of the projection part(s) of the itinerary.

    Defaults:

    • color = .gray
    • dashPattern = NSExpression(forConstantValue: [0.5, 2])

    Declaration

    Swift

    public let projectionLine: LineOptions
  • The struct containing information about the options of the outdoor part(s) of the itinerary.

    Declaration

    Swift

    public let outdoorLine: LineOptions
  • Initializes and returns a newly allocated itinerary options with the specified parameters.

    Declaration

    Swift

    public init(
        indoorLine: LineOptions = .init(),
        projectionLine: LineOptions = .init(color: .gray, dashPattern: .init(forConstantValue: [0.5, 2])),
        outdoorLine: LineOptions = .init()
    )

    Parameters

    indoorOptions

    The struct containing information about the options of the indoor part(s) of the itinerary.

    projectionOptions

    The struct containing information about the options of the projection part(s) of the itinerary.

    outdoorOptions

    The struct containing information about the options of the outdoor part(s) of the itinerary.