onScroll

open override fun onScroll(mapboxCarMapSurface: MapboxCarMapSurface, visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)

See also

com.mapbox.maps.extension.androidauto.MapboxCarMapGestureHandler
androidx.car.app.SurfaceCallback

for instructions to enable.

Parameters

mapboxCarMapSurface

loaded and ready car map surface

distanceX

the distance in pixels along the X axis

distanceY

the distance in pixels along the Y axis