|
deCarta Android API Documentation - Copyright | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.decarta.CONFIG
public class CONFIG
Global static CONFIG class
You must configure this class with your user credentials for using deCarta web services
| Field Summary | |
|---|---|
static int |
BACKGROUND_COLOR_CANVAS
background color for canvas mode |
static int |
BACKGROUND_COLOR_OPENGL
background color for opengl mode |
static int |
BACKGROUND_GRID_COLOR
background grid line color |
static int |
BORDER
BORDER set the width of border between tiles. |
static int |
CACHE_SIZE
Enable file caching flag. |
static java.lang.String |
clientName
This is the configuration that will be used at runtime and will also be the one updated if the user changes the configuration |
static java.lang.String |
clientPassword
|
static int |
COMPASS_PLACE_LOCATION
place compass on the corner. |
static java.lang.String |
configuration
|
static double |
DECELERATE_RATE
log easing DECELERATE_RATE means speed will become 0.8 times of the previous speed every 33 miniseconds, which is approximately one frame. |
static boolean |
DRAW_BY_OPENGL
DRAW_BY_OPENGL sets whether to use OpenGL (or Canvas) for the rendering of the map view. |
static boolean |
ENABLE_ROTATE
enable rotate |
static boolean |
ENABLE_TILT
enable tilt |
static int |
FADING_TIME
specify fading time for map effect of fading in tiles when they load, default to 100 ms |
static java.lang.String |
host
|
static java.lang.String |
IMAGE_FORMAT
|
static int |
LOAD_TIME_SAVE_TO_DB
if ONLY_CACHE_NETWORK_SLOW, only tiles with loading time larger than LOAD_TIME_SAVE_TO_DB will be cached. |
static int |
LOG_LEVEL
Set Log level 0: no log 1: error 2: warn 3: info 4: debug |
static boolean |
ONLY_CACHE_NETWORK_SLOW
if enabled, only cache when the network is slow. |
static boolean |
REAL_TIME_TRAFFIC
|
static java.lang.String |
REL
|
static java.lang.String |
SATELLITE_KEY
|
static boolean |
SNAP_TO_CLOSEST_ZOOMLEVEL
enable if after pinch zooming, slide to closest integer zoom level |
static int |
STATELESS_SESSION_ID
|
static int |
TILE_SIZE
TILE_SIZE sets tile image size default is 256 x 256 pixels |
static int |
TILE_THREAD_COUNT
TILE_THREAD_COUNT for tile network thread pool default 6 |
static java.lang.String |
TILE_URL_SUFFIX
|
static java.lang.String |
transparentConfiguration
|
static int |
ZOOM_LOWER_BOUND
sets the upper and lower bounds of the zoom controller possible range : 0-20. |
static int |
ZOOM_UPPER_BOUND
|
| Constructor Summary | |
|---|---|
CONFIG()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String clientName
public static java.lang.String clientPassword
public static java.lang.String host
public static java.lang.String configuration
public static java.lang.String transparentConfiguration
public static int TILE_SIZE
public static int TILE_THREAD_COUNT
public static int CACHE_SIZE
public static boolean ONLY_CACHE_NETWORK_SLOW
public static int LOAD_TIME_SAVE_TO_DB
public static int ZOOM_LOWER_BOUND
public static int ZOOM_UPPER_BOUND
public static boolean SNAP_TO_CLOSEST_ZOOMLEVEL
public static boolean DRAW_BY_OPENGL
public static int FADING_TIME
public static boolean ENABLE_TILT
public static boolean ENABLE_ROTATE
public static int COMPASS_PLACE_LOCATION
public static int BORDER
public static int LOG_LEVEL
public static double DECELERATE_RATE
public static int BACKGROUND_COLOR_CANVAS
public static int BACKGROUND_COLOR_OPENGL
public static int BACKGROUND_GRID_COLOR
public static java.lang.String TILE_URL_SUFFIX
public static final int STATELESS_SESSION_ID
public static final java.lang.String IMAGE_FORMAT
public static final boolean REAL_TIME_TRAFFIC
public static final java.lang.String REL
public static final java.lang.String SATELLITE_KEY
| Constructor Detail |
|---|
public CONFIG()
|
deCarta Android API Documentation - Copyright | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||