MapboxCarMapGestureHandler

This interface captures gesture events from Android Auto's SurfaceCallback. In order to customize the map gestures provided, you can set your own gestures with setGestureHandler.

Functions

Link copied to clipboard
open fun onFling(@NonNull mapboxCarMapSurface: MapboxCarMapSurface, velocityX: Float, velocityY: Float)
Allows you to implement or observe the map fling gesture handler.
Link copied to clipboard
open fun onScale(@NonNull mapboxCarMapSurface: MapboxCarMapSurface, focusX: Float, focusY: Float, scaleFactor: Float)
Allows you to implement or observe the map scale gesture handler.
Link copied to clipboard
open fun onScroll(@NonNull mapboxCarMapSurface: MapboxCarMapSurface, @NonNull visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)
Allows you to implement or observe the map scroll gesture handler.

Inheritors

Link copied to clipboard