RouteMatrixOptions.TravelMode Property
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.
The mode of travel for the requested route. If not defined, default is car
. Note that the requested travelMode may not be available for the entire route. Where the requested travelMode is not available for a particular section, the travelMode element of the response for that section will be "other". Note that travel modes bus, motorcycle, taxi and van are BETA functionality. Full restriction data is not available in all areas. In CalculateReachableRange
requests, the values bicycle and pedestrian must not be used. Allowed values: TravelModel.Car
, TravelModel.Truck
, TravelModel.Taxi
, TravelModel.Bus
, TravelModel.Van
, TravelModel.Motorcycle
, TravelModel.Bicycle
, or TravelModel.Pedestrian
.
public Azure.Maps.Routing.TravelMode? TravelMode { get; set; }
member this.TravelMode : Nullable<Azure.Maps.Routing.TravelMode> with get, set
Public Property TravelMode As Nullable(Of TravelMode)
Produkt | Wersje |
---|---|
Azure SDK for .NET | Preview |
Opinia o produkcie Azure SDK for .NET
Azure SDK for .NET to projekt typu open source. Wybierz link, aby przekazać opinię: