DefaultMapboxCarMapGestureHandler

This class contains the default map gestures. It Handles the gestures received from SurfaceCallback and applies them to the MapboxMap camera. If you would like to customize the map gestures, use MapboxCarMap.setGestureHandler.

Since

1.0.0

Constructors

Functions

Link copied to clipboard
open override fun onFling(mapboxCarMapSurface: MapboxCarMapSurface, velocityX: Float, velocityY: Float)
Link copied to clipboard
open override fun onScale(mapboxCarMapSurface: MapboxCarMapSurface, focusX: Float, focusY: Float, scaleFactor: Float)
Link copied to clipboard
open override fun onScroll(mapboxCarMapSurface: MapboxCarMapSurface, visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)