This commit is contained in:
runette committed 2024-04-22 15:52:51 +01:00
commit e0afef912e
1285 files changed
+83219

No files matched your search

@@ -0,0 +1,59 @@
//-----------------------------------------------------------------------
// <copyright file="Maneuver.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.Directions
{
using Mapbox.Json;
using Mapbox.Utils;
/// <summary>
/// A Maneuver from a directions API call.
/// </summary>
public class Maneuver
{
/// <summary>
/// Gets or sets the bearing after.
/// </summary>
/// <value>The bearing after.</value>
[JsonProperty("bearing_after")]
public int BearingAfter { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
/// <value>The type.</value>
[JsonProperty("type")]
public string Type { get; set; }
/// <summary>
/// Gets or sets the modifier.
/// </summary>
/// <value>The modifier.</value>
[JsonProperty("modifier")]
public string Modifier { get; set; }
/// <summary>
/// Gets or sets the bearing before.
/// </summary>
/// <value>The bearing before.</value>
[JsonProperty("bearing_before")]
public int BearingBefore { get; set; }
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>The location.</value>
[JsonProperty("Location")]
public Vector2d Location { get; set; }
/// <summary>
/// Gets or sets the instruction.
/// </summary>
/// <value>The instruction.</value>
[JsonProperty("instruction")]
public string Instruction { get; set; }
}
}