wpf-devexpress-dot-xpf-dot-map-dot-bingrouteoptions.md
Gets or sets an option that allows limitation of the use of the toll or highway roads.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public BingAvoidRoads AvoidRoads { get; set; }
Public Property AvoidRoads As BingAvoidRoads
| Type | Description |
|---|---|
| BingAvoidRoads |
A BingAvoidRoads enumeration value.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to AvoidRoads |
|---|---|
| BingRouteDataProvider |
.RouteOptions .AvoidRoads
|
See Also
DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps