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

RouteLeg 

Initializes a new instance of a RouteLeg object.

Public Properties

Name

Description

ActualEnd 

A Location Class object representing the end location that the route service used for the route leg.

ActualStart 

A Location Class object representing the start location that the route service used for the route leg.

Itinerary 

An ItineraryItem Class array containing each step of the route leg.

Summary 

A RouteSummary Class object containing total distance and time information for the route leg.

See Also

RouteResult.Legs Property