Show / Hide Table of Contents

Class Route

A Route from a Directions API call.

Inheritance
System.Object
Route
Namespace:Mapbox.Directions
Assembly:Mapbox.Directions.dll
Syntax
public class Route : 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. Polyline is an array of LatLng's.

Declaration
public List<Vector2d> Geometry { get; set; }
Property Value
Type Description
List<Vector2d>

The geometry.

Legs

Gets or sets the legs.

Declaration
public List<Leg> Legs { get; set; }
Property Value
Type Description
List<Leg>

The legs.

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX