Skip to main content
All docs
V24.2

AzureRouteOptions.TravelMode Property

Specifies the transportation / commute mode.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

[DefaultValue(AzureTravelMode.Car)]
public AzureTravelMode TravelMode { get; set; }

Property Value

Type Default Description
AzureTravelMode Car

A value that specifies the travel mode.

Available values:

Name Description
Bicycle

The returned routes are optimized for bicycles and includes the use of bicycle lanes.

Bus

The returned routes are optimized for buses and includes the use of bus only lanes.

Car

The returned routes are optimized for cars.

Motorcycle

The returned routes are optimized for motorcycles.

Pedestrian

The returned routes are optimized for pedestrians, including the use of sidewalks.

Taxi

The returned routes are optimized for taxis.

Truck

The returned routes are optimized for commercial vehicles (trucks).

Van

The returned routes are optimized for vans.

See Also