Table of Contents

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

Waypoint

The end. Waypoint

Distance

Gets or sets the distance estimate for this leg in kilometers.

public float? Distance { get; set; }

Property Value

float?

The distance. float

Duration

Gets or sets the travel time duration estimate for this leg.

public TimeSpan? Duration { get; set; }

Property Value

TimeSpan?

The duration. TimeSpan

Origin

Gets or sets the origin Waypoint of this leg.

public Waypoint? Origin { get; set; }

Property Value

Waypoint

The start. Waypoint

Sequence

Gets or sets the ordered sequence of this leg.

public int? Sequence { get; set; }

Property Value

int?

The sequence. int

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>

See Also