RouteOptimization Enumeration

Bing
 

Defines optimization options for calculating directions. The Microsoft.Maps.Directions.RouteOptimization enumeration has the following options.

NameDescription
shortestTimeThe route is calculated to minimize the time. Traffic information is not used.
shortestDistanceThe route is calculated to minimize the distance. Traffic information is not used.
timeWithTrafficThe route is calculated to minimize the time and uses current traffic information.
timeAvoidClosureThe route is calculated to minimize the time and avoid road closures. Traffic information is not used in the calculation.
Show: