Detour

public struct Detour

Describes the details about the detour from the route to the point of interest along the route.

Public

  • The detour duration for a passenger car. The detour duration is the value added to the estimated time of arrival (to the final destination), after a point of interest has been added to the route.

    Declaration

    Swift

    public let time: Measurement<UnitDuration>
  • The detour distance is the added value to the route length after a point of interest has been added to the route.

    Declaration

    Swift

    public let distance: Measurement<UnitLength>
  • The length of the route part from the starting point to the detour starting point.

    Declaration

    Swift

    public let offset: Measurement<UnitLength>