SurfaceViewMapRenderer

The SurfaceViewMapRenderer encapsulates the render thread and MapLibreSurfaceView specifics to render the map.

See also

Constructors

Link copied to clipboard
constructor(context: Context, surfaceView: MapLibreSurfaceView, localIdeographFontFamily: String)

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
open fun onDestroy()
Link copied to clipboard
open fun onDrawFrame()
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 onSurfaceChanged(width: Int, height: Int)
Link copied to clipboard
open fun onSurfaceCreated(surface: Surface)
Link copied to clipboard
Link copied to clipboard
open fun queueEvent(runnable: Runnable)
May be called from any thread.
Link copied to clipboard
open fun requestRender()
May be called from any thread.
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
open fun waitForEmpty()