Package com.mapbox.mapboxsdk.constants
Contains the Mapbox Maps Android Constant API classes.
Types
Name | Summary |
---|---|
GeometryConstants | open class GeometryConstants Contains constants used throughout the sdk classes. |
MapboxConstants | open class MapboxConstants MapboxConstants exposes Mapbox related constants |
GeometryConstants
open class GeometryConstants
Contains constants used throughout the sdk classes.
Properties
Name | Summary |
---|---|
LATITUDE_SPAN | val LATITUDE_SPAN: DoubleThis constant represents the latitude span when representing a geolocation. |
LONGITUDE_SPAN | val LONGITUDE_SPAN: DoubleThis constant represents the longitude span when representing a geolocation. |
MAX_LATITUDE | val MAX_LATITUDE: DoubleThis constant represents the highest latitude value available to represent a geolocation. |
MAX_LONGITUDE | val MAX_LONGITUDE: DoubleThis constant represents the highest longitude value available to represent a geolocation. |
MAX_MERCATOR_LATITUDE | val MAX_MERCATOR_LATITUDE: DoubleMaximum latitude value in Mercator projection. |
MAX_WRAP_LONGITUDE | val MAX_WRAP_LONGITUDE: DoubleThis constant represents the highest longitude value available to represent a wrapped geolocation. |
MIN_LATITUDE | val MIN_LATITUDE: DoubleThis constant represents the lowest latitude value available to represent a geolocation. |
MIN_LONGITUDE | val MIN_LONGITUDE: DoubleThis constant represents the lowest longitude value available to represent a geolocation. |
MIN_MERCATOR_LATITUDE | val MIN_MERCATOR_LATITUDE: DoubleMinimum latitude value in Mercator projection. |
MIN_WRAP_LONGITUDE | val MIN_WRAP_LONGITUDE: DoubleThis constant represents the lowest longitude value available to represent a wrapped geolocation. |
RADIUS_EARTH_METERS | val RADIUS_EARTH_METERS: IntThe equatorial radiusvalue in meters |
LATITUDE_SPAN
val LATITUDE_SPAN: Double
This constant represents the latitude span when representing a geolocation.
LONGITUDE_SPAN
val LONGITUDE_SPAN: Double
This constant represents the longitude span when representing a geolocation.
MAX_LATITUDE
val MAX_LATITUDE: Double
This constant represents the highest latitude value available to represent a geolocation.
MAX_LONGITUDE
val MAX_LONGITUDE: Double
This constant represents the highest longitude value available to represent a geolocation.
MAX_MERCATOR_LATITUDE
val MAX_MERCATOR_LATITUDE: Double
Maximum latitude value in Mercator projection.
MAX_WRAP_LONGITUDE
val MAX_WRAP_LONGITUDE: Double
This constant represents the highest longitude value available to represent a wrapped geolocation.
MIN_LATITUDE
val MIN_LATITUDE: Double
This constant represents the lowest latitude value available to represent a geolocation.
MIN_LONGITUDE
val MIN_LONGITUDE: Double
This constant represents the lowest longitude value available to represent a geolocation.
MIN_MERCATOR_LATITUDE
val MIN_MERCATOR_LATITUDE: Double
Minimum latitude value in Mercator projection.
MIN_WRAP_LONGITUDE
val MIN_WRAP_LONGITUDE: Double
This constant represents the lowest longitude value available to represent a wrapped geolocation.
RADIUS_EARTH_METERS
val RADIUS_EARTH_METERS: Int
The equatorial radiusvalue in meters
MapboxConstants
open class MapboxConstants
MapboxConstants exposes Mapbox related constants
Properties
ANGLE_THRESHOLD_IGNORE_VERTICAL_FLING
val ANGLE_THRESHOLD_IGNORE_VERTICAL_FLING: Long
Vertical angle threshold for a horizontal disabled fling gesture
ANIMATION_DURATION
val ANIMATION_DURATION: Int
Default animation time
ANIMATION_DURATION_FLING_BASE
val ANIMATION_DURATION_FLING_BASE: Long
Animation time of a fling gesture
ANIMATION_DURATION_SHORT
val ANIMATION_DURATION_SHORT: Int
Default short animation time
DEFAULT_FONT
val DEFAULT_FONT: String
Default value for font fallback for local ideograph fonts
DEFAULT_MEASURE_TILE_DOWNLOAD_ON
val DEFAULT_MEASURE_TILE_DOWNLOAD_ON: Boolean
Default value for KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON (default is off)
DEFAULT_SET_STORAGE_EXTERNAL
val DEFAULT_SET_STORAGE_EXTERNAL: Boolean
Default value for KEY_META_DATA_SET_STORAGE_EXTERNAL (default is internal storage)
FRAG_ARG_MAPBOXMAPOPTIONS
val FRAG_ARG_MAPBOXMAPOPTIONS: String
Fragment Argument Key for MapboxMapOptions
KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON
val KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON: String
Key used to switch Tile Download Measuring on/off in AndroidManifest.xml
KEY_META_DATA_SET_STORAGE_EXTERNAL
val KEY_META_DATA_SET_STORAGE_EXTERNAL: String
Key used to switch storage to external in AndroidManifest.xml
LAYER_ID_ANNOTATIONS
val LAYER_ID_ANNOTATIONS: String
Layer Id of annotations layer
MAPBOX_LOCALE
val MAPBOX_LOCALE: Locale
Default Locale for data processing (ex: String.toLowerCase(MAPBOX_LOCALE, “foo”))
MAPBOX_SHARED_PREFERENCES
val MAPBOX_SHARED_PREFERENCES: String
The name of the desired preferences file for Android’s SharedPreferences.
MAXIMUM_ANGULAR_VELOCITY
val MAXIMUM_ANGULAR_VELOCITY: Float
Maximum angular velocity for rotation animation
MAXIMUM_DIRECTION
val MAXIMUM_DIRECTION: Double
The currently supported maximum direction
MAXIMUM_PITCH
val MAXIMUM_PITCH: Float
The currently supported maximum pitch level.
MAXIMUM_TILT
val MAXIMUM_TILT: Double
The currently supported maximum tilt value.
MAXIMUM_ZOOM
val MAXIMUM_ZOOM: Float
The currently supported maximum zoom level.
MAX_ABSOLUTE_SCALE_VELOCITY_CHANGE
val MAX_ABSOLUTE_SCALE_VELOCITY_CHANGE: Double
Maximum absolute zoom change for multi-pointer scale velocity animation
MINIMUM_DIRECTION
val MINIMUM_DIRECTION: Double
The currently supported minimum direction
MINIMUM_PITCH
val MINIMUM_PITCH: Float
The currently supported minimum pitch level.
MINIMUM_TILT
val MINIMUM_TILT: Double
The currently supported minimum tilt value.
MINIMUM_ZOOM
val MINIMUM_ZOOM: Float
The currently supported minimum zoom level.
QUICK_ZOOM_MAX_ZOOM_CHANGE
val QUICK_ZOOM_MAX_ZOOM_CHANGE: Double
Maximum possible zoom change during the quick zoom gesture executed across the whole screen
ROTATE_VELOCITY_RATIO_THRESHOLD
val ROTATE_VELOCITY_RATIO_THRESHOLD: Double
Last rotation delta to XY velocity ratio required to execute rotation velocity animation.
SCALE_VELOCITY_ANIMATION_DURATION_MULTIPLIER
val SCALE_VELOCITY_ANIMATION_DURATION_MULTIPLIER: Double
Scale velocity animation duration multiplier.
SCALE_VELOCITY_RATIO_THRESHOLD
val SCALE_VELOCITY_RATIO_THRESHOLD: Double
Last scale span delta to XY velocity ratio required to execute scale velocity animation.
SCHEDULED_ANIMATION_TIMEOUT
val SCHEDULED_ANIMATION_TIMEOUT: Long
Time within which user needs to lift fingers for velocity animation to start.
SHOVE_PIXEL_CHANGE_FACTOR
val SHOVE_PIXEL_CHANGE_FACTOR: Float
Factor to calculate tilt change based on pixel change during shove gesture.
STATE_ATTRIBUTION_ENABLED
val STATE_ATTRIBUTION_ENABLED: String
STATE_ATTRIBUTION_GRAVITY
val STATE_ATTRIBUTION_GRAVITY: String
STATE_ATTRIBUTION_MARGIN_BOTTOM
val STATE_ATTRIBUTION_MARGIN_BOTTOM: String
STATE_ATTRIBUTION_MARGIN_LEFT
val STATE_ATTRIBUTION_MARGIN_LEFT: String
STATE_ATTRIBUTION_MARGIN_RIGHT
val STATE_ATTRIBUTION_MARGIN_RIGHT: String
STATE_ATTRIBUTION_MARGIN_TOP
val STATE_ATTRIBUTION_MARGIN_TOP: String
STATE_CAMERA_POSITION
val STATE_CAMERA_POSITION: String
STATE_COMPASS_ENABLED
val STATE_COMPASS_ENABLED: String
STATE_COMPASS_FADE_WHEN_FACING_NORTH
val STATE_COMPASS_FADE_WHEN_FACING_NORTH: String
STATE_COMPASS_GRAVITY
val STATE_COMPASS_GRAVITY: String
STATE_COMPASS_IMAGE_BITMAP
val STATE_COMPASS_IMAGE_BITMAP: String
STATE_COMPASS_MARGIN_BOTTOM
val STATE_COMPASS_MARGIN_BOTTOM: String
STATE_COMPASS_MARGIN_LEFT
val STATE_COMPASS_MARGIN_LEFT: String
STATE_COMPASS_MARGIN_RIGHT
val STATE_COMPASS_MARGIN_RIGHT: String
STATE_COMPASS_MARGIN_TOP
val STATE_COMPASS_MARGIN_TOP: String
STATE_DEBUG_ACTIVE
val STATE_DEBUG_ACTIVE: String
STATE_DESELECT_MARKER_ON_TAP
val STATE_DESELECT_MARKER_ON_TAP: String
STATE_DISABLE_ROTATE_WHEN_SCALING
val STATE_DISABLE_ROTATE_WHEN_SCALING: String
STATE_DOUBLE_TAP_ENABLED
val STATE_DOUBLE_TAP_ENABLED: String
STATE_FLING_ANIMATION_ENABLED
val STATE_FLING_ANIMATION_ENABLED: String
STATE_HAS_SAVED_STATE
val STATE_HAS_SAVED_STATE: String
STATE_HORIZONAL_SCROLL_ENABLED
val STATE_HORIZONAL_SCROLL_ENABLED: String
STATE_INCREASE_ROTATE_THRESHOLD
val STATE_INCREASE_ROTATE_THRESHOLD: String
STATE_INCREASE_SCALE_THRESHOLD
val STATE_INCREASE_SCALE_THRESHOLD: String
STATE_LOGO_ENABLED
val STATE_LOGO_ENABLED: String
STATE_LOGO_GRAVITY
val STATE_LOGO_GRAVITY: String
STATE_LOGO_MARGIN_BOTTOM
val STATE_LOGO_MARGIN_BOTTOM: String
STATE_LOGO_MARGIN_LEFT
val STATE_LOGO_MARGIN_LEFT: String
STATE_LOGO_MARGIN_RIGHT
val STATE_LOGO_MARGIN_RIGHT: String
STATE_LOGO_MARGIN_TOP
val STATE_LOGO_MARGIN_TOP: String
STATE_QUICK_ZOOM_ENABLED
val STATE_QUICK_ZOOM_ENABLED: String
STATE_ROTATE_ANIMATION_ENABLED
val STATE_ROTATE_ANIMATION_ENABLED: String
STATE_ROTATE_ENABLED
val STATE_ROTATE_ENABLED: String
STATE_SCALE_ANIMATION_ENABLED
val STATE_SCALE_ANIMATION_ENABLED: String
STATE_SCROLL_ENABLED
val STATE_SCROLL_ENABLED: String
STATE_TILT_ENABLED
val STATE_TILT_ENABLED: String
STATE_USER_FOCAL_POINT
val STATE_USER_FOCAL_POINT: String
STATE_ZOOM_ENABLED
val STATE_ZOOM_ENABLED: String
STATE_ZOOM_RATE
val STATE_ZOOM_RATE: String
UNMEASURED
val UNMEASURED: Float
Unmeasured state
VELOCITY_THRESHOLD_IGNORE_FLING
val VELOCITY_THRESHOLD_IGNORE_FLING: Long
Velocity threshold for a fling gesture
ZOOM_RATE
val ZOOM_RATE: Float
Zoom value multiplier for scale gestures.
Android SDK
SDK JS Reference
- Root
- attribution
- camera
- constants
- exceptions
- geometry
- http
- location
- location.engine
- location.modes
- location.permissions
- log
- maps
- maps.renderer
- maps.renderer.egl
- maps.renderer.glsurfaceview
- maps.renderer.textureview
- maps.widgets
- module.http
- module.loader
- net
- offline
- snapshotter
- storage
- style.expressions
- style.layers
- style.light
- style.sources
- style.types
- text
- utils