Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Windows Live
 RouteMode Property
Virtual Earth Map Control SDK, version 6.2
VERouteOptions.RouteMode Property

A VERouteMode Enumeration value specifying the mode of route to return.

VERouteOptions.RouteMode = value;

The default value is VERouteMode.Driving.

If the RouteMode property is set to VERouteMode.Driving, the returned route will contain driving directions in the itinerary.

If the RouteMode property is set to VERouteMode.Walking, the returned route will contain walking directions in the itinerary unless the VERouteOptions.UseMWS Property is set to true or the VERouteOptions.UseTraffic Property is set to true, in which case an empty VERoute object is returned. An empty VERoute object has no itinerary and the VERoute.Distance Property and VERoute.Time Property are 0.

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

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker