Map Controllable
MapControllable interface is the gateway for public API to talk to the internal map controller.
Functions
add Renderer Setup Error Listener
Link copied to clipboard
abstract fun addRendererSetupErrorListener(rendererSetupErrorListener: RendererSetupErrorListener)
Content copied to clipboard
Add an instance of RendererSetupErrorListener.
get Mapbox Map
Link copied to clipboard
Returns a MapboxMap object that can be used to interact with the map.
on Generic Motion Event
Link copied to clipboard
Called when a motion event has occurred.
on Low Memory
Link copied to clipboard
abstract fun onLowMemory()
Content copied to clipboard
on Size Changed
Link copied to clipboard
Called when the size has changed.
on Touch Event
Link copied to clipboard
Called when a touch event has occurred.
queue Event
Link copied to clipboard
Queue a runnable to be executed on the map renderer thread.
remove Renderer Setup Error Listener
Link copied to clipboard
abstract fun removeRendererSetupErrorListener(rendererSetupErrorListener: RendererSetupErrorListener)
Content copied to clipboard
Remove an instance of RendererSetupErrorListener.
remove Widget
Link copied to clipboard
Remove Widget from the map.
set Maximum Fps
Link copied to clipboard
Called to limit the maximum fps
set On Fps Changed Listener
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.