initMapSurface

Init Mapbox Map surface for the car app.

Parameters

mapInitOptions

options to initialise a MapboxMap

mapSurfaceReadyCallback

scaleListener

scrollListener

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