public class MapboxConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
ANGLE_THRESHOLD_IGNORE_VERTICAL_FLING
Vertical angle threshold for a horizontal disabled fling gesture
|
static int |
ANIMATION_DURATION
Default animation time
|
static long |
ANIMATION_DURATION_FLING_BASE
Animation time of a fling gesture
|
static int |
ANIMATION_DURATION_SHORT
Default short animation time
|
static java.lang.String |
DEFAULT_FONT
Default value for font fallback for local ideograph fonts
|
static boolean |
DEFAULT_MANAGE_SKU_TOKEN |
static boolean |
DEFAULT_MEASURE_TILE_DOWNLOAD_ON
Default value for KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON (default is off)
|
static boolean |
DEFAULT_SET_STORAGE_EXTERNAL
Default value for KEY_META_DATA_SET_STORAGE_EXTERNAL (default is internal storage)
|
static java.lang.String |
FRAG_ARG_MAPBOXMAPOPTIONS
Fragment Argument Key for MapboxMapOptions
|
static java.lang.String |
KEY_META_DATA_MANAGE_SKU_TOKEN |
static java.lang.String |
KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON
Key used to switch Tile Download Measuring on/off in AndroidManifest.xml
|
static java.lang.String |
KEY_META_DATA_SET_STORAGE_EXTERNAL
Key used to switch storage to external in AndroidManifest.xml
|
static java.lang.String |
KEY_PREFERENCE_SKU_TOKEN |
static java.lang.String |
LAYER_ID_ANNOTATIONS
Layer Id of annotations layer
|
static java.util.Locale |
MAPBOX_LOCALE
Default Locale for data processing (ex: String.toLowerCase(MAPBOX_LOCALE, "foo"))
|
static java.lang.String |
MAPBOX_SHARED_PREFERENCES
The name of the desired preferences file for Android's SharedPreferences.
|
static double |
MAX_ABSOLUTE_SCALE_VELOCITY_CHANGE
Maximum absolute zoom change for multi-pointer scale velocity animation
|
static float |
MAXIMUM_ANGULAR_VELOCITY
Maximum angular velocity for rotation animation
|
static double |
MAXIMUM_DIRECTION
The currently supported maximum direction
|
static float |
MAXIMUM_PITCH
The currently supported maximum pitch level.
|
static float |
MAXIMUM_SCALE_FACTOR_CLAMP
Deprecated.
unused
|
static double |
MAXIMUM_TILT
The currently supported maximum tilt value.
|
static float |
MAXIMUM_ZOOM
The currently supported maximum zoom level.
|
static float |
MINIMUM_ANGULAR_VELOCITY
Deprecated.
unused, see
ROTATE_VELOCITY_RATIO_THRESHOLD |
static double |
MINIMUM_DIRECTION
The currently supported minimum direction
|
static float |
MINIMUM_PITCH
The currently supported minimum pitch level.
|
static float |
MINIMUM_SCALE_FACTOR_CLAMP
Deprecated.
unused
|
static double |
MINIMUM_TILT
The currently supported minimum tilt value.
|
static float |
MINIMUM_ZOOM
The currently supported minimum zoom level.
|
static double |
QUICK_ZOOM_MAX_ZOOM_CHANGE
Maximum possible zoom change during the quick zoom gesture executed across the whole screen
|
static double |
ROTATE_VELOCITY_RATIO_THRESHOLD
Last rotation delta to XY velocity ratio required to execute rotation velocity animation.
|
static float |
ROTATION_THRESHOLD_INCREASE_WHEN_SCALING
Deprecated.
unused, see
UiSettings.setDisableRotateWhenScaling(boolean) |
static double |
SCALE_VELOCITY_ANIMATION_DURATION_MULTIPLIER
Scale velocity animation duration multiplier.
|
static double |
SCALE_VELOCITY_RATIO_THRESHOLD
Last scale span delta to XY velocity ratio required to execute scale velocity animation.
|
static long |
SCHEDULED_ANIMATION_TIMEOUT
Time within which user needs to lift fingers for velocity animation to start.
|
static float |
SHOVE_PIXEL_CHANGE_FACTOR
Factor to calculate tilt change based on pixel change during shove gesture.
|
static java.lang.String |
STATE_ATTRIBUTION_ENABLED |
static java.lang.String |
STATE_ATTRIBUTION_GRAVITY |
static java.lang.String |
STATE_ATTRIBUTION_MARGIN_BOTTOM |
static java.lang.String |
STATE_ATTRIBUTION_MARGIN_LEFT |
static java.lang.String |
STATE_ATTRIBUTION_MARGIN_RIGHT |
static java.lang.String |
STATE_ATTRIBUTION_MARGIN_TOP |
static java.lang.String |
STATE_CAMERA_POSITION |
static java.lang.String |
STATE_COMPASS_ENABLED |
static java.lang.String |
STATE_COMPASS_FADE_WHEN_FACING_NORTH |
static java.lang.String |
STATE_COMPASS_GRAVITY |
static java.lang.String |
STATE_COMPASS_IMAGE_BITMAP |
static java.lang.String |
STATE_COMPASS_IMAGE_RES |
static java.lang.String |
STATE_COMPASS_MARGIN_BOTTOM |
static java.lang.String |
STATE_COMPASS_MARGIN_LEFT |
static java.lang.String |
STATE_COMPASS_MARGIN_RIGHT |
static java.lang.String |
STATE_COMPASS_MARGIN_TOP |
static java.lang.String |
STATE_DEBUG_ACTIVE |
static java.lang.String |
STATE_DESELECT_MARKER_ON_TAP |
static java.lang.String |
STATE_DISABLE_ROTATE_WHEN_SCALING |
static java.lang.String |
STATE_DOUBLE_TAP_ENABLED |
static java.lang.String |
STATE_FLING_ANIMATION_ENABLED |
static java.lang.String |
STATE_HAS_SAVED_STATE |
static java.lang.String |
STATE_HORIZONAL_SCROLL_ENABLED |
static java.lang.String |
STATE_INCREASE_ROTATE_THRESHOLD |
static java.lang.String |
STATE_INCREASE_SCALE_THRESHOLD |
static java.lang.String |
STATE_LOGO_ENABLED |
static java.lang.String |
STATE_LOGO_GRAVITY |
static java.lang.String |
STATE_LOGO_MARGIN_BOTTOM |
static java.lang.String |
STATE_LOGO_MARGIN_LEFT |
static java.lang.String |
STATE_LOGO_MARGIN_RIGHT |
static java.lang.String |
STATE_LOGO_MARGIN_TOP |
static java.lang.String |
STATE_QUICK_ZOOM_ENABLED |
static java.lang.String |
STATE_ROTATE_ANIMATION_ENABLED |
static java.lang.String |
STATE_ROTATE_ENABLED |
static java.lang.String |
STATE_SCALE_ANIMATION_ENABLED |
static java.lang.String |
STATE_SCROLL_ENABLED |
static java.lang.String |
STATE_TILT_ENABLED |
static java.lang.String |
STATE_USER_FOCAL_POINT |
static java.lang.String |
STATE_ZOOM_ENABLED |
static java.lang.String |
STATE_ZOOM_RATE |
static float |
UNMEASURED
Unmeasured state
|
static long |
VELOCITY_THRESHOLD_IGNORE_FLING
Velocity threshold for a fling gesture
|
static float |
ZOOM_RATE
Zoom value multiplier for scale gestures.
|
Constructor and Description |
---|
MapboxConstants() |
public static final java.util.Locale MAPBOX_LOCALE
public static final java.lang.String MAPBOX_SHARED_PREFERENCES
public static final java.lang.String KEY_META_DATA_SET_STORAGE_EXTERNAL
public static final boolean DEFAULT_SET_STORAGE_EXTERNAL
public static final java.lang.String KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON
public static final boolean DEFAULT_MEASURE_TILE_DOWNLOAD_ON
public static final java.lang.String KEY_PREFERENCE_SKU_TOKEN
public static final java.lang.String KEY_META_DATA_MANAGE_SKU_TOKEN
public static final boolean DEFAULT_MANAGE_SKU_TOKEN
public static final java.lang.String DEFAULT_FONT
public static final float UNMEASURED
public static final int ANIMATION_DURATION
public static final int ANIMATION_DURATION_SHORT
public static final long ANIMATION_DURATION_FLING_BASE
public static final long VELOCITY_THRESHOLD_IGNORE_FLING
public static final long ANGLE_THRESHOLD_IGNORE_VERTICAL_FLING
@Deprecated public static final float ROTATION_THRESHOLD_INCREASE_WHEN_SCALING
UiSettings.setDisableRotateWhenScaling(boolean)
public static final double MAX_ABSOLUTE_SCALE_VELOCITY_CHANGE
public static final double QUICK_ZOOM_MAX_ZOOM_CHANGE
public static final double SCALE_VELOCITY_ANIMATION_DURATION_MULTIPLIER
@Deprecated public static final float MINIMUM_ANGULAR_VELOCITY
ROTATE_VELOCITY_RATIO_THRESHOLD
public static final double SCALE_VELOCITY_RATIO_THRESHOLD
public static final double ROTATE_VELOCITY_RATIO_THRESHOLD
public static final long SCHEDULED_ANIMATION_TIMEOUT
public static final float MAXIMUM_ANGULAR_VELOCITY
public static final float SHOVE_PIXEL_CHANGE_FACTOR
public static final float MINIMUM_ZOOM
public static final float MAXIMUM_ZOOM
public static final float MINIMUM_PITCH
public static final float MAXIMUM_PITCH
public static final double MAXIMUM_TILT
public static final double MINIMUM_TILT
public static final double MAXIMUM_DIRECTION
public static final double MINIMUM_DIRECTION
@Deprecated public static final float MINIMUM_SCALE_FACTOR_CLAMP
@Deprecated public static final float MAXIMUM_SCALE_FACTOR_CLAMP
public static final float ZOOM_RATE
public static final java.lang.String FRAG_ARG_MAPBOXMAPOPTIONS
public static final java.lang.String LAYER_ID_ANNOTATIONS
public static final java.lang.String STATE_HAS_SAVED_STATE
public static final java.lang.String STATE_CAMERA_POSITION
public static final java.lang.String STATE_ZOOM_ENABLED
public static final java.lang.String STATE_SCROLL_ENABLED
public static final java.lang.String STATE_HORIZONAL_SCROLL_ENABLED
public static final java.lang.String STATE_ROTATE_ENABLED
public static final java.lang.String STATE_TILT_ENABLED
public static final java.lang.String STATE_DOUBLE_TAP_ENABLED
public static final java.lang.String STATE_QUICK_ZOOM_ENABLED
public static final java.lang.String STATE_ZOOM_RATE
public static final java.lang.String STATE_DEBUG_ACTIVE
public static final java.lang.String STATE_COMPASS_ENABLED
public static final java.lang.String STATE_COMPASS_GRAVITY
public static final java.lang.String STATE_COMPASS_MARGIN_LEFT
public static final java.lang.String STATE_COMPASS_MARGIN_TOP
public static final java.lang.String STATE_COMPASS_MARGIN_RIGHT
public static final java.lang.String STATE_COMPASS_MARGIN_BOTTOM
public static final java.lang.String STATE_COMPASS_FADE_WHEN_FACING_NORTH
public static final java.lang.String STATE_COMPASS_IMAGE_BITMAP
public static final java.lang.String STATE_COMPASS_IMAGE_RES
public static final java.lang.String STATE_LOGO_GRAVITY
public static final java.lang.String STATE_LOGO_MARGIN_LEFT
public static final java.lang.String STATE_LOGO_MARGIN_TOP
public static final java.lang.String STATE_LOGO_MARGIN_RIGHT
public static final java.lang.String STATE_LOGO_MARGIN_BOTTOM
public static final java.lang.String STATE_LOGO_ENABLED
public static final java.lang.String STATE_ATTRIBUTION_GRAVITY
public static final java.lang.String STATE_ATTRIBUTION_MARGIN_LEFT
public static final java.lang.String STATE_ATTRIBUTION_MARGIN_TOP
public static final java.lang.String STATE_ATTRIBUTION_MARGIN_RIGHT
public static final java.lang.String STATE_ATTRIBUTION_MARGIN_BOTTOM
public static final java.lang.String STATE_ATTRIBUTION_ENABLED
public static final java.lang.String STATE_DESELECT_MARKER_ON_TAP
public static final java.lang.String STATE_USER_FOCAL_POINT
public static final java.lang.String STATE_SCALE_ANIMATION_ENABLED
public static final java.lang.String STATE_ROTATE_ANIMATION_ENABLED
public static final java.lang.String STATE_FLING_ANIMATION_ENABLED
public static final java.lang.String STATE_INCREASE_ROTATE_THRESHOLD
public static final java.lang.String STATE_DISABLE_ROTATE_WHEN_SCALING
public static final java.lang.String STATE_INCREASE_SCALE_THRESHOLD