wpf-devexpress-dot-xpf-dot-map-dot-bingrouteoptions-928da7fd.md
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
public BingRouteOptimization RouteOptimization { get; set; }
Public Property RouteOptimization As BingRouteOptimization
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to RouteOptimization |
|---|---|
| BingRouteDataProvider |
.RouteOptions .RouteOptimization
|
See Also
DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps