Back to Devexpress

BingRouteOptions Class

wpf-devexpress-dot-xpf-dot-map-9e68ce5c.md

latest2.7 KB
Original Source

BingRouteOptions Class

OBSOLETE

This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf

Contains settings that define the parameters for calculating a route via the Microsoft Bing service.

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("BingRouteOptions", "", "")]
public class BingRouteOptions :
    MapDependencyObject
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("BingRouteOptions", "", "")>
Public Class BingRouteOptions
    Inherits MapDependencyObject

The following members return BingRouteOptions objects:

Remarks

Bing Route options are represented by the BingRouteOptions object that can be accessed via the BingRouteDataProvider.RouteOptions property.

Then, you can specify the calculated route mode (BingRouteOptions.Mode), the route optimization option (BingRouteOptions.RouteOptimization) and the distance unit (BingRouteOptions.DistanceUnit).

Inheritance

Object DispatcherObject DependencyObject Freezable MapDependencyObject BingRouteOptions

See Also

BingRouteOptions Members

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

DevExpress.Xpf.Map Namespace