Skip to main content

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

NuGet Package: DevExpress.Wpf.Map

Declaration

[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

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.

Related API Members

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