VERoute Class


VERoute Class

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

Reference

VEMap.GetDirections Method

Page view tracker