Share via


RouteItinerary Class

RouteItinerary Class

Contains the route segments, map view representations, and summary information (including trip time, driving time, and distance) for a calculated route.


Public Class RouteItinerary Inherits System.Object



[C#]

public class RouteItinerary : System.Object

Public Properties

Name Description
public propertyDistance

The distance of the route, in distance units (DistanceUnit enumeration) as specified in the UserInfoRouteHeader.DefaultDistanceUnit property.

public propertyDrivingTime

The total driving time for a route in seconds.

public propertySegments

The array of segments (Segment[] objects) for the route. Each Segment object contains the individual lines of instruction for one segment of the route, which is from one waypoint up to, but not including, the subsequent waypoint.

public propertyTripTime

The total amount of travel time for a route in seconds.

public propertyView

The map view representations (MapViewRepresentations object) of the entire route. Contains the view by bounding rectangle coordinates, and the view by latitude and longitude coordinates of the center point, height, and width.

Remarks

See Also

  DistanceUnit Enumeration   |   UserInfoRouteHeader.DefaultDistanceUnit Property   |   Segment Class   |   Route.Itinerary Property   |   RouteServiceSoap Class