Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AzureRouteOptions.TravelMode Property

Specifies the transportation / commute mode.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#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