Class Leg
A Leg from a Directions API call.
Inheritance
System.Object
Leg
Namespace:Mapbox.Directions
Assembly:Mapbox.Directions.dll
Syntax
public class Leg : object
Properties
Distance
Gets or sets the distance.
Declaration
public double Distance { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The distance. |
Duration
Gets or sets the duration.
Declaration
public double Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The duration. |
Steps
Gets or sets the steps.
Declaration
public List<Step> Steps { get; set; }
Property Value
Type | Description |
---|---|
List<Step> | The steps. |
Summary
Gets or sets the summary.
Declaration
public string Summary { get; set; }
Property Value
Type | Description |
---|---|
System.String | The summary. |