Builder

public struct Builder

The Builder creates the new instance of RouteLeg with modified fields.

Public

  • List of all coordinates of the route leg.

    Declaration

    Swift

    public var geometry: [CLLocationCoordinate2D]
  • List of instructions associated with a particular guidance step.

    Declaration

    Swift

    public var instructions: [Instruction]
  • Summary of the route.

    Declaration

    Swift

    public var summary: Summary
  • The map references.

    Declaration

    Swift

    public var mapReferences: MapReferences?