TaxiSpecification

public struct TaxiSpecification : Hashable

Taxi specific settings.

  • Specifies if a vehicle is allowed to drive through the taxi-only roads and lanes. When set to false, it is still allowed on taxi roads after the route start and before the route destination. Defaults to true.

    Declaration

    Swift

    public var allowDriveThroughTaxiRoads: Bool
  • Creates a new instance.

    Declaration

    Swift

    public init(allowDriveThroughTaxiRoads: Bool = true)