Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

VERoute Class

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.

Contains the route and itinerary information for a generated route. A VERoute object is returned to the callback when the VEMap.GetDirections Method is called.

Public Properties

Name Description

VERoute.Distance Property

A floating-point value that specifies the total length of the route.

VERoute.RouteLegs Property

An array of VERouteLeg Class objects that specify the intermediate legs of the route.

VERoute.ShapePoints Property

An array of VELatLong Class objects that identify the shape of the route.

VERoute.Time Property

An integer specifying the total elapsed time, in seconds, to traverse the route.

See Also

Show:
© 2015 Microsoft