RouteRangeOptions.VehicleMaxSpeedInKilometersPerHour Property

Definition

Maximum speed of the vehicle in km/hour. The max speed in the vehicle profile is used to check whether a vehicle is allowed on motorways.

  • A value of 0 means that an appropriate value for the vehicle will be determined and applied during route planning.
  • A non-zero value may be overridden during route planning. For example, the current traffic flow is 60 km/hour. If the vehicle maximum speed is set to 50 km/hour, the routing engine will consider 60 km/hour as this is the current situation. If the maximum speed of the vehicle is provided as 80 km/hour but the current traffic flow is 60 km/hour, then routing engine will again use 60 km/hour.
public int? VehicleMaxSpeedInKilometersPerHour { get; set; }
member this.VehicleMaxSpeedInKilometersPerHour : Nullable<int> with get, set
Public Property VehicleMaxSpeedInKilometersPerHour As Nullable(Of Integer)

Property Value

Applies to