RouteOptimization Enumeration

Bing
 

Defines optimization options for calculating directions.

Code

Name

Description

0

shortestTime

Calculate a route the shortest time.

1

shortestDistance

Calculate a route with the shortest distance.

3

minimizeMoney

Minimize the cost when calculating directions. This option only affects routes with a transit RouteMode that have the culture set to ja-jp.

4

minimizeTransfers

Minimize transit transfers when calculating directions. This option only affects routes with a transit RouteMode that have the culture set to ja-jp.

5

minimizeWalking

Minimize the amount of walking when calculating directions. This option only affects routes with a transit RouteMode that have the culture set to ja-jp.

Show: