MapView

open class MapView : FrameLayout, NativeMapView.ViewCallback

A MapView provides an embeddable map interface. You use this class to display map information and to manipulate the map contents from your application. You can center the map on a given coordinate, specify the size of the area you want to display, and style the features of the map to fit your application's use case.

Use of MapView requires a MapLibre API access token. Obtain an access token on the MapLibre account page.

Warning: Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, defStyleAttr: Int)
constructor(@NonNull context: Context, @Nullable options: MapLibreMapOptions)

Types

Link copied to clipboard
Interface definition for a callback to be invoked when the map region did change.
Link copied to clipboard
Interface definition for a callback to be invoked when the camera is changing.
Link copied to clipboard
Interface definition for a callback to be invoked when the camera will change.
Link copied to clipboard
Interface definition for a callback to be invoked with an unused image identifier.
Link copied to clipboard
Interface definition for a callback to be invoked when the map has entered the idle state.
Link copied to clipboard
Interface definition for a callback to be invoked when the map is changing.
Link copied to clipboard
Interface definition for a callback to be invoked when the map finished loading.
Link copied to clipboard
Interface definition for a callback to be invoked when the map has loaded the style.
Link copied to clipboard
Interface definition for a callback to be invoked when the map finished rendering a frame.
Link copied to clipboard
Interface definition for a callback to be invoked when the map is changing.
Link copied to clipboard
Interface definition for a callback to be invoked after a range of glyphs fail to load.
Link copied to clipboard
Interface definition for a callback to be invoked after a range of glyphs are loaded.
Link copied to clipboard
Interface definition for a callback to be invoked after a range of glyphs are requested.
Link copied to clipboard
Interface definition for a callback to be invoked after a shader is compiled.
Link copied to clipboard
Interface definition for a callback to be invoked before a shader is compiled.
Link copied to clipboard
Interface definition for a callback to be invoked after a shader failed to compile.
Link copied to clipboard
Interface definition for a callback to be invoked when a map source has changed.
Link copied to clipboard
Interface definition for a callback to be invoked after a sprite fails to load.
Link copied to clipboard
Interface definition for a callback to be invoked after a sprite is requested.
Link copied to clipboard
Interface definition for a callback to be invoked after a sprite is requested.
Link copied to clipboard
Interface definition for a callback to be invoked with the id of a missing icon.
Link copied to clipboard
Interface definition for a callback to be invoked after a tile action occurs.
Link copied to clipboard
Interface definition for a callback to be invoked when the map will start loading.
Link copied to clipboard
Interface definition for a callback to be invoked when the map will start rendering a frame.
Link copied to clipboard
Interface definition for a callback to be invoked when the map will start rendering the map.

Properties

Link copied to clipboard
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE: String = "creditCardExpirationDate"
Link copied to clipboard
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY: String = "creditCardExpirationDay"
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH: String = "creditCardExpirationMonth"
val AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR: String = "creditCardExpirationYear"
Link copied to clipboard
val AUTOFILL_HINT_CREDIT_CARD_NUMBER: String = "creditCardNumber"
Link copied to clipboard
val AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE: String = "creditCardSecurityCode"
Link copied to clipboard
val AUTOFILL_HINT_EMAIL_ADDRESS: String = "emailAddress"
Link copied to clipboard
Link copied to clipboard
val AUTOFILL_HINT_PASSWORD: String = "password"
Link copied to clipboard
Link copied to clipboard
val AUTOFILL_HINT_POSTAL_ADDRESS: String = "postalAddress"
Link copied to clipboard
val AUTOFILL_HINT_POSTAL_CODE: String = "postalCode"
Link copied to clipboard
val AUTOFILL_HINT_USERNAME: String = "username"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val FOCUS_DOWN: Int = 130
Link copied to clipboard
Link copied to clipboard
val FOCUS_LEFT: Int = 17
Link copied to clipboard
val FOCUS_RIGHT: Int = 66
Link copied to clipboard
val FOCUS_UP: Int = 33
Link copied to clipboard
val FOCUSABLE: Int = 1
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val GONE: Int = 8
Link copied to clipboard
val HAPTIC_FEEDBACK_ENABLED: Int = 268435456
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val INVISIBLE: Int = 4
Link copied to clipboard
val KEEP_SCREEN_ON: Int = 67108864
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val MEASURED_SIZE_MASK: Int = 16777215
Link copied to clipboard
val MEASURED_STATE_MASK: Int = -16777216
Link copied to clipboard
Link copied to clipboard
val NO_ID: Int = -1
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:NonNull
open val renderView: View
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val SOUND_EFFECTS_ENABLED: Int = 134217728
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val VISIBLE: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addFocusables(p: ArrayList<View>, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
Set a callback that's invoked when the camera region did change.
Link copied to clipboard
Set a callback that's invoked when the camera is changing.
Link copied to clipboard
Set a callback that's invoked when the camera region will change.
Link copied to clipboard
Set a callback that's invoked when map needs to release unused image resources.
Link copied to clipboard
Set a callback that's invoked when the map has entered the idle state.
Link copied to clipboard
Set a callback that's invoked when the map failed to load.
Link copied to clipboard
Set a callback that's invoked when the map has finished loading.
Link copied to clipboard
Set a callback that's invoked when the style has finished loading.
Link copied to clipboard
Set a callback that's invoked when the map has finished rendering a frame.
Link copied to clipboard
Set a callback that's invoked when the map has finished rendering.
Link copied to clipboard
Set a callback that's invoked after a range of glyphs fail to load.
Link copied to clipboard
Set a callback that's invoked after a range of glyphs are loaded.
Link copied to clipboard
Set a callback that's invoked after a range of glyphs are requested.
Link copied to clipboard
Set a callback that's invoked after a shader is compiled.
Link copied to clipboard
Set a callback that's invoked before a shader is compiled.
Link copied to clipboard
Set a callback that's invoked after a shader failed to compile.
Link copied to clipboard
Set a callback that's invoked when a map source has changed.
Link copied to clipboard
Set a callback that's invoked after a sprite fails to laod.
Link copied to clipboard
Set a callback that's invoked after a sprite is loaded.
Link copied to clipboard
Set a callback that's invoked after a sprite is requested.
Link copied to clipboard
Set a callback that's invoked when the id of an icon is missing.
Link copied to clipboard
Set a callback that's invoked after a tile action occurs.
Link copied to clipboard
Set a callback that's invoked when the map will start loading.
Link copied to clipboard
Set a callback that's invoked when the map will start rendering a frame.
Link copied to clipboard
Set a callback that's invoked when the map will start rendering.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun addView(p: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun autofill(p: AutofillValue)
Link copied to clipboard
open fun bringChildToFront(p: View)
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
open fun clearChildFocus(p: View)
Link copied to clipboard
Link copied to clipboard
open fun clearFocus()
Link copied to clipboard
Link copied to clipboard
open fun combineMeasuredStates(p: Int, p1: Int): Int
Link copied to clipboard
open fun computeScroll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedPreScroll(p: Int, p1: Int, p2: Array<Int>, p3: Array<Int>): Boolean
Link copied to clipboard
open fun dispatchNestedScroll(p: Int, p1: Int, p2: Int, p3: Int, p4: Array<Int>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun draw(p: Canvas)
Link copied to clipboard
Link copied to clipboard
open fun endViewTransition(p: View)
Link copied to clipboard
open fun findFocus(): View
Link copied to clipboard
fun <T : View?> findViewById(p: Int): T
Link copied to clipboard
Link copied to clipboard
fun <T : View?> findViewWithTag(p: Any): T
Link copied to clipboard
Link copied to clipboard
open fun focusSearch(p: View, p1: Int): View
Link copied to clipboard
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun generateViewId(): Int
Link copied to clipboard
Link copied to clipboard
open fun getAlpha(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAutofillType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBaseline(): Int
Link copied to clipboard
fun getBottom(): Int
Link copied to clipboard
Link copied to clipboard
open fun getChildAt(p: Int): View
Link copied to clipboard
open fun getChildCount(): Int
Link copied to clipboard
open fun getChildMeasureSpec(p: Int, p1: Int, p2: Int): Int
Link copied to clipboard
open fun getChildVisibleRect(p: View, p1: Rect, p2: Point): Boolean
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(p: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDefaultSize(p: Int, p1: Int): Int
Link copied to clipboard
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDrawingRect(p: Rect)
Link copied to clipboard
open fun getDrawingTime(): Long
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
open fun getExplicitStyle(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusedChild(): View
Link copied to clipboard
open fun getFocusedRect(p: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getHandler(): Handler
Link copied to clipboard
fun getHeight(): Int
Link copied to clipboard
open fun getHitRect(p: Rect)
Link copied to clipboard
Link copied to clipboard
open fun getId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLabelFor(): Int
Link copied to clipboard
open fun getLayerType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLayoutMode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLeft(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets a callback object which will be triggered when the MapLibreMap instance is ready to be used.
Link copied to clipboard
open fun getMatrix(): Matrix
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNextFocusUpId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPaddingBottom(): Int
Link copied to clipboard
open fun getPaddingEnd(): Int
Link copied to clipboard
open fun getPaddingLeft(): Int
Link copied to clipboard
open fun getPaddingRight(): Int
Link copied to clipboard
open fun getPaddingStart(): Int
Link copied to clipboard
open fun getPaddingTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPivotX(): Float
Link copied to clipboard
open fun getPivotY(): Float
Link copied to clipboard
open fun getPixelRatio(): Float
Returns the map pixel ratio, by default it returns the device pixel ratio.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the rendering refresh mode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getRight(): Int
Link copied to clipboard
open fun getRootView(): View
Link copied to clipboard
Link copied to clipboard
open fun getRotation(): Float
Link copied to clipboard
open fun getRotationX(): Float
Link copied to clipboard
open fun getRotationY(): Float
Link copied to clipboard
open fun getScaleX(): Float
Link copied to clipboard
open fun getScaleY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getScrollBarSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSolidColor(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
Link copied to clipboard
fun getTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getVisibility(): Int
Link copied to clipboard
fun getWidth(): Int
Link copied to clipboard
open fun getWindowId(): WindowId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getX(): Float
Link copied to clipboard
open fun getY(): Float
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun indexOfChild(p: View): Int
Link copied to clipboard
open fun inflate(p: Context, p1: Int, p2: ViewGroup): View
Link copied to clipboard
open fun invalidate(p: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isActivated(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isCredential(): Boolean
Link copied to clipboard
Returns if the map has been destroyed.
Link copied to clipboard
open fun isDirty(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isHovered(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInEditMode(): Boolean
Link copied to clipboard
open fun isInLayout(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isLaidOut(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPivotSet(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPressed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSelected(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isShown(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun layout(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
fun measure(p: Int, p1: Int)
Link copied to clipboard
open fun offsetLeftAndRight(p: Int)
Link copied to clipboard
open fun offsetTopAndBottom(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle)
You must call this method from the parent's Activity#onCreate(Bundle)} or Fragment#onViewCreated(View, Bundle).
Link copied to clipboard
Link copied to clipboard
open fun onDestroy()
You must call this method from the parent's Activity#onDestroy() or Fragment#onDestroyView().
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onHoverChanged(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onKeyDown(keyCode: Int, @NonNull event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyLongPress(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyMultiple(p: Int, p1: Int, p2: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyPreIme(p: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyShortcut(p: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyUp(keyCode: Int, @NonNull event: KeyEvent): Boolean
Link copied to clipboard
You must call this method from the parent's Activity#onLowMemory() or Fragment#onLowMemory().
Link copied to clipboard
open fun onNestedFling(p: View, p1: Float, p2: Float, p3: Boolean): Boolean
Link copied to clipboard
open fun onNestedPreFling(p: View, p1: Float, p2: Float): Boolean
Link copied to clipboard
open fun onNestedPreScroll(p: View, p1: Int, p2: Int, p3: Array<Int>)
Link copied to clipboard
open fun onNestedScroll(p: View, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun onNestedScrollAccepted(p: View, p1: View, p2: Int)
Link copied to clipboard
open fun onPause()
You must call this method from the parent's Activity#onPause() or Fragment#onPause().
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onResume()
You must call this method from the parent's Activity#onResume() or Fragment#onResume().
Link copied to clipboard
Link copied to clipboard
You must call this method from the parent's Activity#onSaveInstanceState(Bundle) or Fragment#onSaveInstanceState(Bundle).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onStart()
You must call this method from the parent's Activity#onStart() or Fragment#onStart()
Link copied to clipboard
open fun onStartNestedScroll(p: View, p1: View, p2: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onStop()
You must call this method from the parent's Activity#onStop() or Fragment#onStop().
Link copied to clipboard
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onViewAdded(p: View)
Link copied to clipboard
open fun onViewRemoved(p: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun playSoundEffect(p: Int)
Link copied to clipboard
open fun post(p: Runnable): Boolean
Link copied to clipboard
open fun postDelayed(p: Runnable, p1: Long): Boolean
Link copied to clipboard
open fun postInvalidate()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun queueEvent(@NonNull runnable: Runnable)
Queue a runnable to be executed on the map renderer thread.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set a callback that's invoked when the camera region did change.
Link copied to clipboard
Remove a callback that's invoked when the camera is changing.
Link copied to clipboard
Remove a callback that's invoked when the camera region will change.
Removes a callback that's invoked when map needs to release unused image resources.
Link copied to clipboard
Remove a callback that's invoked when the map has entered the idle state.
Link copied to clipboard
Set a callback that's invoked when the map failed to load.
Link copied to clipboard
Set a callback that's invoked when the map has finished loading.
Link copied to clipboard
Set a callback that's invoked when the style has finished loading.
Link copied to clipboard
Set a callback that's invoked when the map has finished rendering a frame.
Link copied to clipboard
Remove a callback that's invoked when the map has finished rendering.
Link copied to clipboard
Removes a callback that's invoked after a range of glyphs fail to load.
Link copied to clipboard
Removes a callback that's invoked after a range of glyphs are loaded.
Link copied to clipboard
Removes a callback that's invoked after a range of glyphs are requested.
Link copied to clipboard
Removes a callback that's invoked after a shader is compiled.
Link copied to clipboard
Removes a callback that's invoked before a shader is compiled.
Link copied to clipboard
Removes a callback that's invoked after a shader failed to compile.
Link copied to clipboard
Set a callback that's invoked when a map source has changed.
Link copied to clipboard
Removes a callback that's invoked after a sprite fails to laod.
Link copied to clipboard
Removes a callback that's invoked after a sprite is loaded.
Link copied to clipboard
Removes a callback that's invoked after a sprite is requested.
Link copied to clipboard
Set a callback that's invoked when a map source has changed.
Link copied to clipboard
Remove's a callback that's invoked after a tile action occurs.
Link copied to clipboard
Set a callback that's invoked when the map will start loading.
Link copied to clipboard
Set a callback that's invoked when the map will start rendering a frame.
Link copied to clipboard
Set a callback that's invoked when the map will start rendering.
Link copied to clipboard
open fun removeView(p: View)
Link copied to clipboard
open fun removeViewAt(p: Int)
Link copied to clipboard
Link copied to clipboard
open fun removeViews(p: Int, p1: Int)
Link copied to clipboard
open fun removeViewsInLayout(p: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun requestChildFocus(p: View, p1: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun requestFocus(p: Int, p1: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View?> requireViewById(p: Int): T
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
open fun resolveSize(p: Int, p1: Int): Int
Link copied to clipboard
open fun resolveSizeAndState(p: Int, p1: Int, p2: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun scheduleDrawable(p: Drawable, p1: Runnable, p2: Long)
Link copied to clipboard
Link copied to clipboard
open fun scrollBy(p: Int, p1: Int)
Link copied to clipboard
open fun scrollTo(p: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setActivated(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAlpha(p: Float)
Link copied to clipboard
open fun setAnimation(p: Animation)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setBackground(p: Drawable)
Link copied to clipboard
open fun setBackgroundColor(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBottom(p: Int)
Link copied to clipboard
Link copied to clipboard
open fun setClickable(p: Boolean)
Link copied to clipboard
open fun setClipBounds(p: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setElevation(p: Float)
Link copied to clipboard
open fun setEnabled(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFocusable(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setForeground(p: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHandwritingBoundsOffsets(p: Float, p1: Float, p2: Float, p3: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHovered(p: Boolean)
Link copied to clipboard
open fun setId(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setLabelFor(p: Int)
Link copied to clipboard
open fun setLayerPaint(p: Paint)
Link copied to clipboard
open fun setLayerType(p: Int, p1: Paint)
Link copied to clipboard
Link copied to clipboard
open fun setLayoutDirection(p: Int)
Link copied to clipboard
open fun setLayoutMode(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setLeft(p: Int)
Link copied to clipboard
fun setLeftTopRightBottom(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setMapStrictModeEnabled(strictModeEnabled: Boolean)
Sets the strict mode that will throw the org.maplibre.android.MapStrictModeException whenever the map would fail silently otherwise.
Link copied to clipboard
open fun setMaximumFps(maximumFps: Int)
The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.
Link copied to clipboard
Link copied to clipboard
open fun setMinimumHeight(p: Int)
Link copied to clipboard
open fun setMinimumWidth(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusDownId(p: Int)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusLeftId(p: Int)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusUpId(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOverScrollMode(p: Int)
Link copied to clipboard
open fun setPadding(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun setPaddingRelative(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setPivotX(p: Float)
Link copied to clipboard
open fun setPivotY(p: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setPressed(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Set the rendering refresh mode and wake up the render thread if it is sleeping.
Link copied to clipboard
Link copied to clipboard
fun setRight(p: Int)
Link copied to clipboard
open fun setRotation(p: Float)
Link copied to clipboard
open fun setRotationX(p: Float)
Link copied to clipboard
open fun setRotationY(p: Float)
Link copied to clipboard
open fun setSaveEnabled(p: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setScaleX(p: Float)
Link copied to clipboard
open fun setScaleY(p: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollBarSize(p: Int)
Link copied to clipboard
open fun setScrollBarStyle(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollX(p: Int)
Link copied to clipboard
open fun setScrollY(p: Int)
Link copied to clipboard
open fun setSelected(p: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTag(p: Any)
Link copied to clipboard
open fun setTextAlignment(p: Int)
Link copied to clipboard
open fun setTextDirection(p: Int)
Link copied to clipboard
Link copied to clipboard
fun setTop(p: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTranslationX(p: Float)
Link copied to clipboard
open fun setTranslationY(p: Float)
Link copied to clipboard
open fun setTranslationZ(p: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVisibility(p: Int)
Link copied to clipboard
Link copied to clipboard
open fun setWillNotDraw(p: Boolean)
Link copied to clipboard
open fun setX(p: Float)
Link copied to clipboard
open fun setY(p: Float)
Link copied to clipboard
open fun setZ(p: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stopNestedScroll()
Link copied to clipboard
open fun suppressLayout(p: Boolean)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean