Class Leg
- Namespace
- Geotab.Checkmate.ObjectModel.Geographical
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A single leg of Directions between origin and destination Waypoints.
public class Leg : IDirectionsSequence, IDistanceDuration
- Inheritance
-
Leg
- Implements
- Inherited Members
Constructors
Leg()
public Leg()
Properties
Destination
Gets or sets the destination Waypoint of this leg.
public Waypoint? Destination { get; set; }
Property Value
Distance
Gets or sets the distance estimate for this leg in kilometers.
public float? Distance { get; set; }
Property Value
Duration
Gets or sets the travel time duration estimate for this leg.
public TimeSpan? Duration { get; set; }
Property Value
Origin
Gets or sets the origin Waypoint of this leg.
public Waypoint? Origin { get; set; }
Property Value
Sequence
Gets or sets the ordered sequence of this leg.
public int? Sequence { get; set; }
Property Value
Steps
Gets or sets the steps denoting information about each separate Step of the leg.
public IEnumerable<Step>? Steps { get; set; }
Property Value
- IEnumerable<Step>
The route turns. List<T>