Skip to main content
All docs
V24.2

AzureRouteSection.TravelMode Property

Gets the transportation / commute mode used to calculate the route.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public AzureResponseTravelMode TravelMode { get; }

Property Value

Type
AzureResponseTravelMode

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.

Other

The returned routes do not support the requested transportation mode.

See Also