//----------------------------------------------------------------------- // // Copyright (c) 2017 Mapbox. All rights reserved. // //----------------------------------------------------------------------- namespace Mapbox.MapMatching { using Mapbox.Directions; using Mapbox.Json; using Mapbox.Utils; using Mapbox.Utils.JsonConverters; /// /// A Waypoint from a Directions API call. /// public class Tracepoint: Waypoint { /// /// Index of the waypoint inside the matched route. /// [JsonProperty("waypoint_index")] public int WaypointIndex { get; set; } /// /// Index to the match object in matchings the sub-trace was matched to. /// [JsonProperty("matchings_index")] public int MatchingsIndex { get; set; } /// /// Number of probable alternative matchings for this trace point. A value of zero indicates that this point was matched unambiguously. Split the trace at these points for incremental map matching. /// [JsonProperty("alternatives_count")] public int AlternativesCount { get; set; } } }