initMapSurface

fun Session.initMapSurface(mapInitOptions: MapInitOptions = MapInitOptions(carContext), scrollListener: OnMapScrollListener? = null, scaleListener: OnMapScaleListener? = null, mapSurfaceReadyCallback: MapSurfaceReadyCallback)

Init Mapbox Map surface for the car app.

Parameters

mapInitOptions

options to initialise a MapboxMap

mapSurfaceReadyCallback
scaleListener
scrollListener