Back to Devexpress

BingRouteOptimization Enum

wpf-devexpress-dot-xpf-dot-map-a7fcc5f5.md

latest2.3 KB
Original Source

BingRouteOptimization Enum

OBSOLETE

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

Declaration

csharp
[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
vb
<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

Members

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.

|

The following properties accept/return BingRouteOptimization values:

Remarks

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

DevExpress.Xpf.Map Namespace