//-----------------------------------------------------------------------
//
// Copyright (c) 2017 Mapbox. All rights reserved.
//
//-----------------------------------------------------------------------
using System;
using System.ComponentModel;
using Mapbox.VectorTile.Geometry;
namespace Mapbox.MapMatching
{
/// Directions profile id
public enum Profile
{
[Description("mapbox/driving")]
MapboxDriving,
[Description("mapbox/driving-traffic")]
MapboxDrivingTraffic,
[Description("mapbox/walking")]
MapboxWalking,
[Description("mapbox/cycling")]
MapboxCycling
}
/// Format of the returned geometry. Default value 'Polyline' with precision 5.
public enum Geometries
{
/// Default, precision 5.
[Description("polyline")]
Polyline,
/// Precision 6.
[Description("polyline6")]
Polyline6,
/// Geojson.
[Description("geojson")]
GeoJson
}
/// Type of returned overview geometry.
public enum Overview
{
/// The most detailed geometry available
[Description("full")]
Full,
/// A simplified version of the full geometry
[Description("simplified")]
Simplified,
/// No overview geometry
[Description("false")]
None
}
/// Whether or not to return additional metadata along the route. Several annotations can be used.
[System.Flags]
public enum Annotations
{
[Description("duration")]
Duration,
[Description("distance")]
Distance,
[Description("speed")]
Speed,
[Description("congestion")]
Congestion
}
///
/// https://www.mapbox.com/api-documentation/navigation/#retrieve-directions
///
public enum InstructionLanguages
{
[Description("de")]
German,
[Description("en")]
English,
[Description("eo")]
Esperanto,
[Description("es")]
Spanish,
[Description("es-ES")]
SpanishSpain,
[Description("fr")]
French,
[Description("id")]
Indonesian,
[Description("it")]
Italian,
[Description("nl")]
Dutch,
[Description("pl")]
Polish,
[Description("pt-BR")]
PortugueseBrazil,
[Description("ro")]
Romanian,
[Description("ru")]
Russian,
[Description("sv")]
Swedish,
[Description("tr")]
Turkish,
[Description("uk")]
Ukrainian,
[Description("vi")]
Vietnamese,
[Description("zh-Hans")]
ChineseSimplified
}
}