Share via


VERouteItineraryDeprecated.Segments 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.

An array of VERouteSegment Class objects, which define each segment of the total route.

VERouteItineraryDeprecated.Segments

Remarks

The VERouteItineraryDeprecated object contains an array of VERouteSegment Class objects. You can use the built-in length property to determine the number of segments in the array, and the [] operator to specify individual route segments.