Back to Devexpress

BingAvoidRoads Enum

windowsforms-devexpress-dot-xtramap-ee7526db.md

latest2.1 KB
Original Source

BingAvoidRoads Enum

OBSOLETE

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

Lists limitations in the use of toll and highway roads when route planning.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[Flags]
[Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-winforms")]
[PreferableMember("BingAvoidRoads", "", "")]
public enum BingAvoidRoads
vb
<Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-winforms")>
<PreferableMember("BingAvoidRoads", "", "")>
<Flags>
Public Enum BingAvoidRoads

Members

NameDescription
None

All road types can be used to build a route.

| | Highways |

Highways are not used to build a route.

| | Tolls |

Toll roads are not used to build a route.

| | MinimizeHighways |

The number of highways is minimized in a route.

| | MinimizeTolls |

The number of toll roads is minimized in a route.

| | Ferry |

Do not use ferries to build a route.

| | BorderCrossing |

Do not cross country borders in a route.

|

The following properties accept/return BingAvoidRoads values:

Remarks

The values listed by this enumeration can be used to set the BingRouteOptions.AvoidRoads property.

See Also

DevExpress.XtraMap Namespace