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
    Member of [Namespace]
[C#]
public class RouteItinerary : System.Object
    Member of [Namespace]

Public Properties

public propertyDistance The distance of the route, in distance units (DistanceUnit enumeration) as specified in the UserInfoRouteHeader.DefaultDistanceUnit property. Double.
public propertyDrivingTime The total driving time for the route in seconds. Long.
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. Long.
public propertyView The map view representations (MapViewRepresentations object) for the entire route. Contains a view by bounding rectangle coordinates, and a view by latitude and longitude coordinates of the center point, height, and width.

Remarks

  • The RouteItinerary class is returned as the Route.Itinerary property of the route created from a call to the RouteServiceSoap.CalculateRoute or RouteServiceSoap.CalculateSimpleRoute method.

See Also

DistanceUnit Enumeration | UserInfoRouteHeader.DefaultDistanceUnit Property | Segment Class | MapViewRepresentations Class | Route.Itinerary Property | RouteServiceSoap.CalculateRoute Method | RouteServiceSoap.CalculateSimpleRoute Method