Skip to main content
All docs
V24.2

AzureRouteOptions.AvoidTypes Property

Specifies items that AzureRouteDataProvider should try to avoid when calculating the route.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

[DefaultValue(AzureRouteAvoidType.None)]
public AzureRouteAvoidType AvoidTypes { get; set; }

Property Value

Type Default Description
AzureRouteAvoidType None

Items that AzureRouteDataProvider should try to avoid when calculating the route.

Available values:

Name Description
None

Items to avoid are not specified.

AlreadyUsedRoads

Avoids using the same road multiple times.

BorderCrossings

Avoids border crossings in route calculation.

Carpools

Avoids routes that require the use of carpool (HOV/High Occupancy Vehicle) lanes.

Ferries

Avoids ferries.

Motorways

Avoids motorways.

TollRoads

Avoids toll roads.

UnpavedRoads

Avoids unpaved roads.

Remarks

You can specify several AzureRouteAvoidType values.

See Also