Skip to main content

BingRouteOptions.RouteOptimization Property

Gets or sets a value that defines how to optimize the route calculation.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v25.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public BingRouteOptimization RouteOptimization { get; set; }

Property Value

Type Description
BingRouteOptimization

A BingRouteOptimization enumeration value.

Available values:

Name Description
MinimizeTime

A route is calculated in such a way that the time required to follow this route will be the minimum possible.

MinimizeDistance

A route is calculated in such a way that its total distance will be the minimum possible.

MinimizeTimeWithTraffic

A route is calculated to minimize the time required to follow this route and uses current traffic information.

MinimizeTimeAvoidClosure

A route is calculated to minimize the time required to follow this route and avoid road closures. Traffic information is not used.

Property Paths

You can access this nested property as listed below:

Object Type Path to RouteOptimization
BingRouteDataProvider
.RouteOptions .RouteOptimization
See Also