# GuidanceEstimatedArrivalView

    @IBDesignable
    open class GuidanceEstimatedArrivalView : UIView

View for displaying the estimated arrival information, which includes estimated time of arrival (ETA), time to arrival (TTA), and travel distance to destination.

### Properties

- `primaryInfoTextColor`

  Sets the text color of the estimated time of arrival information. The default value is `UIColor.colorForeground`.

  #### Declaration

  Swift

      public var primaryInfoTextColor: UIColor { get set }

- `secondaryInfoTextColor`

  Sets the text color of duration and distance information. The default value is `UIColor.colorForegroundSecondary`.

  #### Declaration

  Swift

      public var secondaryInfoTextColor: UIColor { get set }

- `textAlignment`

  Sets the text alignment of all textual information. The default value is `NSTextAlignment.center`.

  #### Declaration

  Swift

      public var textAlignment: NSTextAlignment { get set }

- `estimatedTimeOfArrival`

  The estimated time of arrival to be displayed.

  #### Declaration

  Swift

      public var estimatedTimeOfArrival: Date? { get set }

- `duration`

  The travel time duration to be displayed.

  #### Declaration

  Swift

      public var duration: Measurement<UnitDuration>? { get set }

- `distance`

  The travel distance to destination to be displayed.

  #### Declaration

  Swift

      public var distance: Measurement<UnitLength>? { get set }

- `estimatedTimeOfArrivalFormatter`

  The `DateFormatter` used to format the ETA information. The default value is `DateFormatter.currentShortTimeFormatter`.

  #### Declaration

  Swift

      public var estimatedTimeOfArrivalFormatter: DateFormatter { get set }

- `durationFormatter`

  The `MeasurementFormatter` used to format the duration information. The default value is `MeasurementFormatter.currentMediumUnitFormatter`.

  #### Declaration

  Swift

      public var durationFormatter: MeasurementFormatter { get set }

- `distanceFormatter`

  The `MeasurementFormatter` used to format the distance information. The default value is `MeasurementFormatter.currentMediumUnitFormatter`.

  #### Declaration

  Swift

      public var distanceFormatter: MeasurementFormatter { get set }