RouteRangeOptions.VehicleMaxSpeedInKilometersPerHour Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET