Map Surface
A MapSurface provides an embeddable map interface. You use this class to display map information and to manipulate the map contents from your application. You can center the map on a given coordinate, specify the size of the area you want to display, and style the features of the map to fit your application's use case.
Use of MapSurface requires a Mapbox API access token. Obtain an access token on the Mapbox account page.
<strong>Warning:</strong> Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use.
Constructors
Functions
equals
Link copied to clipboard
getMapboxMap
Link copied to clipboard
getPlugin
Link copied to clipboard
onGenericMotionEvent
Link copied to clipboard
onSizeChanged
Link copied to clipboard
onTouchEvent
Link copied to clipboard
queueEvent
Link copied to clipboard
setMaximumFps
Link copied to clipboard
setOnFpsChangedListener
Link copied to clipboard
open override fun setOnFpsChangedListener(listener: OnFpsChangedListener)
Content copied to clipboard
snapshot
Link copied to clipboard
surfaceChanged
Link copied to clipboard
surfaceCreated
Link copied to clipboard
fun surfaceCreated()
Content copied to clipboard
surfaceDestroyed
Link copied to clipboard
fun surfaceDestroyed()
Content copied to clipboard