package com.mapbox.services;

import java.util.Locale;

public class Constants {

    /**
     * Package version
     */
    public final static String MAPBOX_JAVA_VERSION = "1.2.0-SNAPSHOT";

    /**
     * User agent for HTTP requests
     */
    public final static String HEADER_USER_AGENT =
            String.format(Locale.US, "MapboxJava/%s", MAPBOX_JAVA_VERSION);

    public final static String BASE_API_URL = "https://api.mapbox.com";

    /*
     * For polyline encoding/decoding
     */

    public final static int GOOGLE_PRECISION = 5;

    public final static int OSRM_PRECISION_V4 = 6;
    public final static int OSRM_PRECISION_V5 = 5;

    /*
     * Mapbox default styles
     * https://www.mapbox.com/developers/api/styles/
     */

    public final static String MAPBOX_USER = "mapbox";

    public final static String MAPBOX_STYLE_STREETS = "streets-v9";
    public final static String MAPBOX_STYLE_LIGHT = "light-v9";
    public final static String MAPBOX_STYLE_DARK = "dark-v9";
    @Deprecated
    public final static String MAPBOX_STYLE_EMERALD = "emerald-v8";
    public final static String MAPBOX_OUTDOORS = "outdoors-v9";
    public final static String MAPBOX_STYLE_SATELLITE = "satellite-v9";
    public final static String MAPBOX_STYLE_SATELLITE_HYBRID = "satellite-streets-v9";

}

@@ -366,16 +366,99 @@
 SION);%0A%0A
+    /**%0A     * Base URL for all API calls, not hardcoded to enable testing%0A     */%0A
     publ
@@ -528,24 +528,25 @@
 %0A%0A    /*
+*
 %0A     * 
 For poly
@@ -541,9 +541,19 @@
   * 
-F
+Constants f
 or p
@@ -578,33 +578,32 @@
 ecoding%0A     */%0A
-%0A
     public final
@@ -632,25 +632,24 @@
 CISION = 5;%0A
-%0A
     public f
@@ -745,24 +745,25 @@
 %0A%0A    /*
+*
 %0A     * 
 Mapbox d
@@ -758,82 +758,33 @@
   * 
-Mapbox default styles%0A     * https://www.mapbox.com/developers/api/styl
+Default user for servic
 es
-/
 %0A   
@@ -788,17 +788,16 @@
      */%0A
-%0A
     publ
@@ -840,24 +840,122 @@
  %22mapbox%22;%0A%0A
+    /**%0A     * Mapbox default styles%0A     * https://www.mapbox.com/developers/api/styles/%0A     */%0A
     public f
@@ -1140,92 +1140,8 @@
 9%22;%0A
-    @Deprecated%0A    public final static String MAPBOX_STYLE_EMERALD = %22emerald-v8%22;%0A
     
@@ -1174,16 +1174,22 @@
  MAPBOX_
+STYLE_
 OUTDOORS

clean up and document constants