You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
933 B

6 months ago
//-----------------------------------------------------------------------
// <copyright file="Leg.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.Directions
{
using System.Collections.Generic;
using Mapbox.Json;
/// <summary>
/// <para>An annotations object contains additional details about each line segment along the route geometry.</para>
/// <para></para>Each entry in an annotations field corresponds to a coordinate along the route geometry.
/// </summary>
public class Annotation
{
[JsonProperty("distance")]
public double[] Distance { get; set; }
[JsonProperty("duration")]
public double[] Duration { get; set; }
[JsonProperty("speed")]
public string[] Speed { get; set; }
[JsonProperty("congestion")]
public string[] Congestion { get; set; }
}
}