MapRenderer

The MapRenderer encapsulates the render thread.

Performs actions on the render thread to manage the resources and render on the one end and acts as a scheduler to request work to be performed on the render thread on the other.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, localIdeographFontFamily: String)

Types

Link copied to clipboard
Rendering presentation refresh mode.

Functions

Link copied to clipboard
open fun create(options: MapLibreMapOptions, @NonNull context: Context, initCallback: Runnable): MapRenderer
Link copied to clipboard
abstract fun getView(): View
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
abstract fun queueEvent(runnable: Runnable)
Link copied to clipboard
abstract fun requestRender()
Link copied to clipboard
open fun setMaximumFps(maximumFps: Int)
The max frame rate at which this render is rendered, but it can't excess the ability of device hardware.
Link copied to clipboard
open fun setSwapBehaviorFlush(flush: Boolean)
Link copied to clipboard
abstract fun waitForEmpty()