Enum
BingRestRouteAvoidance

Contains road types to minimize or avoid.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
[Obsolete("This class is obsolete and will be deleted in Q2 2026.")]
public enum BingRestRouteAvoidance

Fields

Highways

Avoids the use of highways in the route.

Declaration

cs-api-definition
Highways = 1

Field Value

BingRestRouteAvoidance

MinimizeHighways

Minimizes (tries to avoid) the use of highways in the route.

Declaration

cs-api-definition
MinimizeHighways = 3

Field Value

BingRestRouteAvoidance

MinimizeTolls

Minimizes (tries to avoid) the use of toll roads in the route.

Declaration

cs-api-definition
MinimizeTolls = 4

Field Value

BingRestRouteAvoidance

None

Use all roads.

Declaration

cs-api-definition
None = 0

Field Value

BingRestRouteAvoidance

Tolls

Avoids the use of toll roads in the route.

Declaration

cs-api-definition
Tolls = 2

Field Value

BingRestRouteAvoidance