Itinerary

public struct Itinerary

Represents a requested sequence of points that a route should visit.

Important

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

Public

Itinerary

  • Copies the current Itinerary with changes specified in build closure

    Declaration

    Swift

    public func copy(build: (inout Builder) -> ()) -> Itinerary

    Parameters

    build

    This closure allows for change of Itinerary values

    Return Value

    Itinerary with the changes set on the closure

  • The Builder creates a new instance of Itinerary with modified fields.

    Declaration

    Swift

    public struct Builder