Builder

class Builder(context: Context)

Builds NavigationScaleGestureHandlerOptions.

Constructors

Link copied to clipboard
fun Builder(context: Context)

Functions

Link copied to clipboard
Link copied to clipboard
fun followingInitialMoveThreshold(followingInitialMoveThreshold: Float): NavigationScaleGestureHandlerOptions.Builder

When in NavigationCameraState.FOLLOWING, sets minimum single pointer movement (map pan) in pixels required to transition NavigationCamera to NavigationCameraState.IDLE.

Link copied to clipboard
fun followingMultiFingerMoveThreshold(followingMultiFingerMoveThreshold: Float): NavigationScaleGestureHandlerOptions.Builder

When in NavigationCameraState.FOLLOWING, sets minimum multi pointer movement (map pan) in pixels required to transition NavigationCamera to NavigationCameraState.IDLE (for example during pinch scale gesture).

Link copied to clipboard
fun followingMultiFingerProtectedMoveArea(followingMultiFingerProtectedMoveArea: RectF?): NavigationScaleGestureHandlerOptions.Builder

When in NavigationCameraState.FOLLOWING, sets protected multi pointer gesture area.