RouteAvoidance Enumeration

Bing
 

Defines features to avoid when calculating the route. The Microsoft.Maps.Directions.RouteAvoidance enumeration has the following options.

NameDescription
noneCalculate the best route using any travel option available.
minimizeHighwaysReduce the use of limited access highways when calculating the route.
minimizeTollReduce the use of roads with tolls when calculating the route.
avoidHighwaysAvoid using limited access highways when calculating the route.
avoidTollAvoid using roads with tolls when calculating the route.
avoidExpressTrainAvoid using express trains when calculating the route. This option only affects transit routes that have the culture set to ja-jp.
avoidAirlineAvoid using airlines when calculating the route. This option only affects transit routes that have the culture set to ja-jp.
avoidBulletTrainAvoid using bullet trains when calculating the route. This option only affects transit routes that have the culture set to ja-jp.
Show: