onFling

open override fun onFling(mapboxCarMapSurface: MapboxCarMapSurface, velocityX: Float, velocityY: Float)

See also

MapboxCarMapGestureHandler.onFling

Parameters

mapboxCarMapSurface

loaded and ready car map surface

velocityX

the velocity of this fling measured in pixels per second along the x axis

velocityY

the velocity of this fling measured in pixels per second along the y axis