public class OpenStreetMapTileProviderConstants extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAXIMUM_CACHED_FILE_AGE |
static String |
HTTP_EXPIRES_HEADER
this is the expected http header to expect from a tile server
|
static String |
HTTP_EXPIRES_HEADER_FORMAT
this is the default and expected http header for Expires, date time format that is used
for more http servers.
|
static int |
MINIMUM_ZOOMLEVEL
Minimum Zoom Level
|
static long |
ONE_DAY |
static long |
ONE_HOUR |
static long |
ONE_MINUTE |
static long |
ONE_SECOND |
static long |
ONE_WEEK |
static long |
ONE_YEAR |
static long |
TILE_EXPIRY_TIME_MILLISECONDS
default tile expiration time, only used if the server doesn't specify
30 days
|
static String |
TILE_PATH_EXTENSION
add an extension to files on sdcard so that gallery doesn't index them
|
Constructor and Description |
---|
OpenStreetMapTileProviderConstants() |
Modifier and Type | Method and Description |
---|---|
static File |
getBasePath()
Deprecated.
|
static String |
getUserAgentValue()
Deprecated.
|
static void |
setUserAgentValue(String val)
Deprecated.
|
public static final int MINIMUM_ZOOMLEVEL
public static final String TILE_PATH_EXTENSION
public static final long ONE_SECOND
public static final long ONE_MINUTE
public static final long ONE_HOUR
public static final long ONE_DAY
public static final long ONE_WEEK
public static final long ONE_YEAR
public static final long DEFAULT_MAXIMUM_CACHED_FILE_AGE
public static final long TILE_EXPIRY_TIME_MILLISECONDS
public static final String HTTP_EXPIRES_HEADER
public static final String HTTP_EXPIRES_HEADER_FORMAT
@Deprecated public static File getBasePath()
@Deprecated public static String getUserAgentValue()
Configuration.getInstance().getUserAgentValue()
@Deprecated public static void setUserAgentValue(String val)
val
- Configuration.getInstance().getUserAgentValue()