//-----------------------------------------------------------------------
//
// Copyright (c) 2016 Mapbox. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Mapbox.Directions
{
using Mapbox.Json;
using Mapbox.Utils;
using Mapbox.Utils.JsonConverters;
///
/// A Waypoint from a Directions API call.
///
public class Waypoint
{
///
/// Gets or sets the name.
///
/// The name.
[JsonProperty("name")]
public string Name { get; set; }
///
/// Gets or sets the location.
///
/// The location.
[JsonProperty("location")]
[JsonConverter(typeof(LonLatToVector2dConverter))]
public Vector2d Location { get; set; }
}
}