共用方式為


RouteDirectionOptions.TravelMode Property

Definition

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.

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)

Property Value

Applies to