Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VERouteOptions.RouteOptimize Property

You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.

A VERouteOptimize Enumeration value specifying how the route is calculated.


VERouteOptions.RouteOptimize = value;

The default value for this property is MinimizeTime. This means that the route will be calculated to minimize the route time.

You can set the VERouteOptions.UseTraffic Property to true if you'd like the route to consider available traffic information to minimize the route time.

If the RouteOptimize property is set to VERouteOptimize.MinimizeTime and the VERouteOptions.RouteMode Property is set to VERouteMode.Walking, then an empty VERoute object is returned.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.