CostingOptionsVehicle

Objective-C

struct CostingOptionsVehicle {}

Swift

struct CostingOptionsVehicle

Options for vehicle

  • The height of the vehicle (in meters). Default 1.9 for car, bus, taxi and 4.11 for truck.

    Declaration

    Objective-C

    float height

    Swift

    var height: Float
  • The width of the vehicle (in meters). Default 1.6 for car, bus, taxi and 2.6 for truck.

    Declaration

    Objective-C

    float width

    Swift

    var width: Float
  • This value indicates whether or not the path may include unpaved roads. If exclude_unpaved is set to 1 it is allowed to start and end with unpaved roads, but is not allowed to have them in the middle of the route path, otherwise they are allowed. Default false.

    Declaration

    Objective-C

    _Bool excludeUnpaved

    Swift

    var excludeUnpaved: Bool
  • A boolean value which indicates the desire to avoid routes with cash-only tolls. Default false.

    Declaration

    Objective-C

    _Bool excludeCashOnlyTolls

    Swift

    var excludeCashOnlyTolls: Bool
  • A boolean value which indicates the desire to include HOV roads with a 2-occupant requirement in the route when advantageous. Default false.

    Declaration

    Objective-C

    _Bool include_hov2

    Swift

    var include_hov2: Bool
  • A boolean value which indicates the desire to include HOV roads with a 3-occupant requirement in the route when advantageous. Default false.

    Declaration

    Objective-C

    _Bool include_hov3

    Swift

    var include_hov3: Bool
  • A boolean value which indicates the desire to include tolled HOV roads which require the driver to pay a toll if the occupant requirement isn’t met. Default false.

    Declaration

    Objective-C

    _Bool include_hot

    Swift

    var include_hot: Bool