Class Step
A step from a Directions API call.
Inheritance
System.Object
Step
Namespace:Mapbox.Directions
Assembly:Mapbox.Directions.dll
Syntax
public class Step : 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. |
Geometry
Gets or sets the geometry.
Declaration
public List<Vector2d> Geometry { get; set; }
Property Value
Type | Description |
---|---|
List<Vector2d> | The geometry. |
Intersections
Gets or sets the intersections.
Declaration
public List<Intersection> Intersections { get; set; }
Property Value
Type | Description |
---|---|
List<Intersection> | The intersections. |
Maneuver
Gets or sets the maneuver.
Declaration
public Maneuver Maneuver { get; set; }
Property Value
Type | Description |
---|---|
Maneuver | The maneuver. |
Mode
Gets or sets the mode.
Declaration
public string Mode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The mode. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |