//-----------------------------------------------------------------------
//
// Copyright (c) 2016 Mapbox. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Mapbox.Directions
{
///
/// Type of returned overview geometry. Can be full (the most detailed geometry available),
/// simplified (a simplified version of the full geometry), or false (no overview geometry).
///
public sealed class Overview
{
/// Use the most detailed geometry available.
public static readonly Overview Full = new Overview("full");
/// Use simplified geometry. This is the default value.
public static readonly Overview Simplified = new Overview("simplified");
/// Use no overview geometry.
public static readonly Overview False = new Overview("false");
private readonly string overview;
private Overview(string overview)
{
this.overview = overview;
}
/// Converts the overview type to a string.
/// A string to use as an optional value in the direction query URL.
public override string ToString()
{
return this.overview;
}
}
}