on Scroll
open override fun onScroll(mapboxCarMapSurface: MapboxCarMapSurface, visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)
See also
Mapbox Car Map Gesture Handler. onScroll
for instructions to enable.
Parameters
mapbox Car Map Surface
loaded and ready car map surface
distance X
the distance in pixels along the X axis
distance Y
the distance in pixels along the Y axis