BingRouteOptions.AvoidRoads Property
In This Article
Gets or sets an option that allows limitation of the use of the toll or highway roads.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
NuGet Package: DevExpress.Win.Map
#Declaration
[DefaultValue(BingAvoidRoads.None)]
public BingAvoidRoads AvoidRoads { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Bing |
None | A Bing |
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. |
Minimize |
The number of highways is minimized in a route. |
Minimize |
The number of toll roads is minimized in a route. |
Ferry | Do not use ferries to build a route. |
Border |
Do not cross country borders in a route. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Avoid |
---|---|
Bing |
|
See Also