MapControllable
MapControllable interface is the gateway for public API to talk to the internal map controller.
Functions
addRendererSetupErrorListener
Link copied to clipboard
abstract fun addRendererSetupErrorListener(rendererSetupErrorListener: RendererSetupErrorListener)
Content copied to clipboard
Add an instance of RendererSetupErrorListener.
getMapboxMap
Link copied to clipboard
Returns a MapboxMap object that can be used to interact with the map.
onGenericMotionEvent
Link copied to clipboard
Called when a motion event has occurred.
onLowMemory
Link copied to clipboard
abstract fun onLowMemory()
Content copied to clipboard
onSizeChanged
Link copied to clipboard
Called when the size has changed.
onTouchEvent
Link copied to clipboard
Called when a touch event has occurred.
queueEvent
Link copied to clipboard
Queue a runnable to be executed on the map renderer thread.
removeRendererSetupErrorListener
Link copied to clipboard
abstract fun removeRendererSetupErrorListener(rendererSetupErrorListener: RendererSetupErrorListener)
Content copied to clipboard
Remove an instance of RendererSetupErrorListener.
removeWidget
Link copied to clipboard
Remove Widget from the map.
setMaximumFps
Link copied to clipboard
Called to limit the maximum fps
setOnFpsChangedListener
Link copied to clipboard
Set OnFpsChangedListener to get map rendering FPS.
snapshot
Link copied to clipboard
Called to capture a snapshot synchronously.
Called to capture a snapshot asynchronously.