MapLibreConstants

MapLibreConstants exposes MapLibre related constants

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Vertical angle threshold for a horizontal disabled fling gesture
Link copied to clipboard
Default animation time
Link copied to clipboard
Animation time of a fling gesture
Link copied to clipboard
Default short animation time
Link copied to clipboard
val DEFAULT_FONT: String = "sans-serif"
Default value for font fallback for local ideograph fonts
Link copied to clipboard
Default value for KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON (default is off)
Link copied to clipboard
Default value for KEY_META_DATA_SET_STORAGE_EXTERNAL (default is internal storage)
Link copied to clipboard
val FRAG_ARG_MAPLIBREMAPOPTIONS: String = "MapLibreMapOptions"
Fragment Argument Key for MapLibreMapOptions
Link copied to clipboard
val KEY_META_DATA_MEASURE_TILE_DOWNLOAD_ON: String = "com.mapbox.MeasureTileDownloadOn"
Key used to switch Tile Download Measuring on/off in AndroidManifest.
Link copied to clipboard
val KEY_META_DATA_SET_STORAGE_EXTERNAL: String = "com.mapbox.SetStorageExternal"
Key used to switch storage to external in AndroidManifest.
Link copied to clipboard
val LAYER_ID_ANNOTATIONS: String = "org.maplibre.annotations.points"
Layer Id of annotations layer
Link copied to clipboard
Default Locale for data processing (ex: String.
Link copied to clipboard
val MAPLIBRE_SHARED_PREFERENCES: String = "MapboxSharedPreferences"
The name of the desired preferences file for Android's SharedPreferences.
Link copied to clipboard
Maximum absolute zoom change for multi-pointer scale velocity animation
Link copied to clipboard
Maximum angular velocity for rotation animation
Link copied to clipboard
The currently supported maximum direction
Link copied to clipboard
val MAXIMUM_PITCH: Float = 60.0f
The currently supported maximum pitch level.
Link copied to clipboard
The currently used maximum scale factor to clamp to when a quick zoom gesture occurs
Link copied to clipboard
val MAXIMUM_TILT: Double = 60.0
The currently supported maximum tilt value.
Link copied to clipboard
val MAXIMUM_ZOOM: Float = 25.5f
The currently supported maximum zoom level.
Link copied to clipboard
Minimum angular velocity for rotation animation
Link copied to clipboard
The currently supported minimum direction
Link copied to clipboard
val MINIMUM_PITCH: Float = 0.0f
The currently supported minimum pitch level.
Link copied to clipboard
The currently used minimum scale factor to clamp to when a quick zoom gesture occurs
Link copied to clipboard
val MINIMUM_TILT: Double = 0.0
The currently supported minimum tilt value.
Link copied to clipboard
val MINIMUM_ZOOM: Float = 0.0f
The currently supported minimum zoom level.
Link copied to clipboard
Maximum possible zoom change during the quick zoom gesture executed across the whole screen
Link copied to clipboard
val ROTATE_VELOCITY_RATIO_THRESHOLD: Double = 2.2000000000000003E-4
Last rotation delta to XY velocity ratio required to execute rotation velocity animation.
Link copied to clipboard
Value by which the default rotation threshold will be increased when scaling
Scale velocity animation duration multiplier.
Link copied to clipboard
Last scale span delta to XY velocity ratio required to execute scale velocity animation.
Link copied to clipboard
Time within which user needs to lift fingers for velocity animation to start.
Link copied to clipboard
Factor to calculate tilt change based on pixel change during shove gesture.
Link copied to clipboard
val STATE_ATTRIBUTION_ENABLED: String = "maplibre_atrrEnabled"
Link copied to clipboard
val STATE_ATTRIBUTION_GRAVITY: String = "maplibre_attrGravity"
Link copied to clipboard
val STATE_ATTRIBUTION_MARGIN_BOTTOM: String = "maplibre_atrrMarginBottom"
Link copied to clipboard
val STATE_ATTRIBUTION_MARGIN_LEFT: String = "maplibre_attrMarginLeft"
Link copied to clipboard
val STATE_ATTRIBUTION_MARGIN_RIGHT: String = "maplibre_attrMarginRight"
Link copied to clipboard
val STATE_ATTRIBUTION_MARGIN_TOP: String = "maplibre_attrMarginTop"
Link copied to clipboard
val STATE_CAMERA_POSITION: String = "maplibre_cameraPosition"
Link copied to clipboard
val STATE_COMPASS_ENABLED: String = "maplibre_compassEnabled"
Link copied to clipboard
val STATE_COMPASS_FADE_WHEN_FACING_NORTH: String = "maplibre_compassFade"
Link copied to clipboard
val STATE_COMPASS_GRAVITY: String = "maplibre_compassGravity"
Link copied to clipboard
val STATE_COMPASS_IMAGE_BITMAP: String = "maplibre_compassImage"
Link copied to clipboard
val STATE_COMPASS_MARGIN_BOTTOM: String = "maplibre_compassMarginBottom"
Link copied to clipboard
val STATE_COMPASS_MARGIN_LEFT: String = "maplibre_compassMarginLeft"
Link copied to clipboard
val STATE_COMPASS_MARGIN_RIGHT: String = "maplibre_compassMarginRight"
Link copied to clipboard
val STATE_COMPASS_MARGIN_TOP: String = "maplibre_compassMarginTop"
Link copied to clipboard
val STATE_DEBUG_ACTIVE: String = "maplibre_debugActive"
Link copied to clipboard
val STATE_DESELECT_MARKER_ON_TAP: String = "maplibre_deselectMarkerOnTap"
Link copied to clipboard
val STATE_DISABLE_ROTATE_WHEN_SCALING: String = "maplibre_disableRotateWhenScaling"
Link copied to clipboard
val STATE_DOUBLE_TAP_ENABLED: String = "maplibre_doubleTapEnabled"
Link copied to clipboard
val STATE_FLING_ANIMATION_ENABLED: String = "maplibre_flingAnimationEnabled"
Link copied to clipboard
val STATE_HAS_SAVED_STATE: String = "maplibre_savedState"
Link copied to clipboard
val STATE_HORIZONAL_SCROLL_ENABLED: String = "maplibre_horizontalScrollEnabled"
Link copied to clipboard
val STATE_INCREASE_ROTATE_THRESHOLD: String = "maplibre_increaseRotateThreshold"
Link copied to clipboard
val STATE_INCREASE_SCALE_THRESHOLD: String = "maplibre_increaseScaleThreshold"
Link copied to clipboard
val STATE_LOGO_ENABLED: String = "maplibre_logoEnabled"
Link copied to clipboard
val STATE_LOGO_GRAVITY: String = "maplibre_logoGravity"
Link copied to clipboard
val STATE_LOGO_MARGIN_BOTTOM: String = "maplibre_logoMarginBottom"
Link copied to clipboard
val STATE_LOGO_MARGIN_LEFT: String = "maplibre_logoMarginLeft"
Link copied to clipboard
val STATE_LOGO_MARGIN_RIGHT: String = "maplibre_logoMarginRight"
Link copied to clipboard
val STATE_LOGO_MARGIN_TOP: String = "maplibre_logoMarginTop"
Link copied to clipboard
val STATE_QUICK_ZOOM_ENABLED: String = "maplibre_quickZoom"
Link copied to clipboard
val STATE_ROTATE_ANIMATION_ENABLED: String = "maplibre_rotateAnimationEnabled"
Link copied to clipboard
val STATE_ROTATE_ENABLED: String = "maplibre_rotateEnabled"
Link copied to clipboard
val STATE_SCALE_ANIMATION_ENABLED: String = "maplibre_scaleAnimationEnabled"
Link copied to clipboard
val STATE_SCROLL_ENABLED: String = "maplibre_scrollEnabled"
Link copied to clipboard
val STATE_TILT_ENABLED: String = "maplibre_tiltEnabled"
Link copied to clipboard
val STATE_USER_FOCAL_POINT: String = "maplibre_userFocalPoint"
Link copied to clipboard
val STATE_ZOOM_ENABLED: String = "maplibre_zoomEnabled"
Link copied to clipboard
val STATE_ZOOM_RATE: String = "maplibre_zoomRate"
Link copied to clipboard
val UNMEASURED: Float = -1.0f
Unmeasured state
Link copied to clipboard
Velocity threshold for a fling gesture
Link copied to clipboard
val ZOOM_RATE: Float = 0.65f
Zoom value multiplier for scale gestures.