Package com.mapbox.maps.extension.androidauto

Types

MapSurfaceReadyCallback
Link copied to clipboard
fun fun interface MapSurfaceReadyCallback
MapSurface ready callback, will be called when the MapSurface is created successfully.
OnMapScaleListener
Link copied to clipboard
fun fun interface OnMapScaleListener
Fired when there's a map scale event.
OnMapScrollListener
Link copied to clipboard
fun fun interface OnMapScrollListener
Fired when there's a map scroll event.

Functions

initMapSurface
Link copied to clipboard
fun Session.initMapSurface(mapInitOptions: MapInitOptions = MapInitOptions(carContext), scrollListener: OnMapScrollListener? = null, scaleListener: OnMapScaleListener? = null, mapSurfaceReadyCallback: MapSurfaceReadyCallback)
Init Mapbox Map surface for the car app.