Default Mapbox Car Map Gesture Handler
open class DefaultMapboxCarMapGestureHandler : MapboxCarMapGestureHandler
Content copied to clipboard
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.
Constructors
DefaultMapboxCarMapGestureHandler
Link copied to clipboard
fun DefaultMapboxCarMapGestureHandler()
Content copied to clipboard
Functions
on Fling
Link copied to clipboard
open override fun onFling(mapboxCarMapSurface: MapboxCarMapSurface, velocityX: Float, velocityY: Float)
Content copied to clipboard
on Scroll
Link copied to clipboard
open override fun onScroll(mapboxCarMapSurface: MapboxCarMapSurface, visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)
Content copied to clipboard