Package huskymaps
Class Constants
- java.lang.Object
-
- huskymaps.Constants
-
public class Constants extends Object
All the constant values used inhuskymaps
.
-
-
Field Summary
Fields Modifier and Type Field Description static Set<String>
ALLOWED_HIGHWAY_TYPES
Only allow for non-service roads.static int
DECIMAL_PLACES
static double
EPSILON
Error tolerance for latitudes and longitudes.static String
MARKER_OVERLAY
static int
MAX_MATCHES
Maximum number of autocomplete search results.static String
OSM_DB_PATH
The OSM XML file path.static String
PLACES_PATH
static int
PORT
Default port for serving the application locally.static int
R
Radius of the Earth in miles.static Color
ROUTE_STROKE_COLOR
Route stroke information.static float
ROUTE_STROKE_WIDTH_PX
static String
STATIC_IMAGES_API
String template for the MapBox Static Images API.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
R
public static final int R
Radius of the Earth in miles.- See Also:
- Constant Field Values
-
EPSILON
public static final double EPSILON
Error tolerance for latitudes and longitudes.- See Also:
- Constant Field Values
-
DECIMAL_PLACES
public static final int DECIMAL_PLACES
- See Also:
- Constant Field Values
-
ALLOWED_HIGHWAY_TYPES
public static final Set<String> ALLOWED_HIGHWAY_TYPES
Only allow for non-service roads. This prevents going on pedestrian streets.
-
STATIC_IMAGES_API
public static final String STATIC_IMAGES_API
String template for the MapBox Static Images API.- See Also:
- Constant Field Values
-
MARKER_OVERLAY
public static final String MARKER_OVERLAY
- See Also:
- Constant Field Values
-
ROUTE_STROKE_COLOR
public static final Color ROUTE_STROKE_COLOR
Route stroke information.
-
ROUTE_STROKE_WIDTH_PX
public static final float ROUTE_STROKE_WIDTH_PX
- See Also:
- Constant Field Values
-
MAX_MATCHES
public static final int MAX_MATCHES
Maximum number of autocomplete search results.- See Also:
- Constant Field Values
-
PORT
public static final int PORT
Default port for serving the application locally.- See Also:
- Constant Field Values
-
OSM_DB_PATH
public static final String OSM_DB_PATH
The OSM XML file path. Downloaded from BBBike using custom region selection.- See Also:
- Constant Field Values
-
PLACES_PATH
public static final String PLACES_PATH
- See Also:
- Constant Field Values
-
-