wpf-devexpress-dot-xpf-dot-map-a7fcc5f5.md
This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf
Lists the values used to specify how to optimize route calculation.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
[Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")]
[PreferableMember("BingRouteOptimization", "", "")]
public enum BingRouteOptimization
<Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")>
<PreferableMember("BingRouteOptimization", "", "")>
Public Enum BingRouteOptimization
| 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.
|
The following properties accept/return BingRouteOptimization values:
The values listed by the BingRouteOptimization enumeration are used to set the BingRouteOptions.RouteOptimization property.
See Also
DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps