DefaultMapboxCarMapGestureHandler

open class DefaultMapboxCarMapGestureHandler : MapboxCarMapGestureHandler

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()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onFling
Link copied to clipboard
open override fun onFling(mapboxCarMapSurface: MapboxCarMapSurface, velocityX: Float, velocityY: Float)
onScale
Link copied to clipboard
open override fun onScale(mapboxCarMapSurface: MapboxCarMapSurface, focusX: Float, focusY: Float, scaleFactor: Float)
onScroll
Link copied to clipboard
open override fun onScroll(mapboxCarMapSurface: MapboxCarMapSurface, visibleCenter: ScreenCoordinate, distanceX: Float, distanceY: Float)
toString
Link copied to clipboard
open fun toString(): String