//----------------------------------------------------------------------- // // Copyright (c) 2016 Mapbox. All rights reserved. // //----------------------------------------------------------------------- namespace Mapbox.Utils { /// Collection of constants used across the project. public static class Constants { /// Base URL for all the Mapbox APIs. public const string BaseAPI = "https://api.mapbox.com/"; public const string EventsAPI = "https://events.mapbox.com/"; /// Mercator projection max latitude limit. public const double LatitudeMax = 85.0511; /// Mercator projection max longitude limit. public const double LongitudeMax = 180; /// Mercator projection max meters public const double WebMercMax = 20037508.342789244; /// Epsilon to comapre floating point numbers public const float EpsilonFloatingPoint = 1E-05f; } }