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 |
---|---|
Distance | The distance of the route, in distance units (DistanceUnit enumeration) as specified in the UserInfoRouteHeader.DefaultDistanceUnit property. |
DrivingTime | The total driving time for a route in seconds. |
Segments | 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. |
TripTime | The total amount of travel time for a route in seconds. |
View | 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
- 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 | Route.Itinerary Property | RouteServiceSoap Class