TextureViewMapRenderer

The TextureViewMapRenderer encapsulates the GL thread and TextureView specifics to render the map.

See also

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull textureView: TextureView, localIdeographFontFamily: String, translucentSurface: Boolean)
Create a MapRenderer for the given TextureView

Functions

Link copied to clipboard
open fun create(options: MapLibreMapOptions, @NonNull context: Context, initCallback: Runnable): MapRenderer
Link copied to clipboard
open fun getView(): View
Link copied to clipboard
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
open fun queueEvent(runnable: Runnable)
Link copied to clipboard
open 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 setRenderThread(thread: TextureViewRenderThread)
Link copied to clipboard
open fun setSwapBehaviorFlush(flush: Boolean)
Link copied to clipboard
open fun waitForEmpty()