RouteLeg Class
This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services.
Represents a leg of a route. A route leg is a portion of a route between two waypoints.
Syntax
public class RouteLeg
Public Class RouteLeg
Constructor
Name |
Description |
---|---|
Initializes a new instance of a RouteLeg object. |
Public Properties
Name |
Description |
---|---|
A Location Class object representing the end location that the route service used for the route leg. |
|
A Location Class object representing the start location that the route service used for the route leg. |
|
An ItineraryItem Class array containing each step of the route leg. |
|
A RouteSummary Class object containing total distance and time information for the route leg. |