Builder

public struct Builder

The Builder creates a new instance of Route with modified fields.

Public

  • List of route legs.

    Declaration

    Swift

    public var legs: [RouteLeg]
  • Estimated departure time.

    Declaration

    Swift

    public var departureDate: Date?
  • Estimated arrival time.

    Declaration

    Swift

    public var arrivalDate: Date?
  • Summary of the route.

    Declaration

    Swift

    public var summary: Summary
  • Route sections.

    Declaration

    Swift

    public var sections: Sections
  • The start coordinate of the route.

    Declaration

    Swift

    public var startOfRoute: CLLocationCoordinate2D
  • The end coordinate of the route.

    Declaration

    Swift

    public var endOfRoute: CLLocationCoordinate2D
  • List of the route stops.

    Declaration

    Swift

    public var routeStops: [TomTomSDKRoute.RouteStop]
  • List of the route coordinates.

    Declaration

    Swift

    public var routeCoordinates: [RouteCoordinate]
  • The offset where incremental computation of route contents was paused.

    Declaration

    Swift

    public var incrementEndOffset: Measurement<UnitLength>