Back to Devexpress

BingRouteOptions.RouteOptimization Property

wpf-devexpress-dot-xpf-dot-map-dot-bingrouteoptions-928da7fd.md

latest2.1 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public BingRouteOptimization RouteOptimization { get; set; }
vb
Public Property RouteOptimization As BingRouteOptimization

Property Value

TypeDescription
BingRouteOptimization

A BingRouteOptimization enumeration value.

|

Available values:

NameDescription
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 TypePath to RouteOptimization
BingRouteDataProvider

.RouteOptions .RouteOptimization

|

See Also

DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps

BingRouteOptions Class

BingRouteOptions Members

DevExpress.Xpf.Map Namespace