Builder
Composes and builds a GesturesSettings object.
This is a concrete implementation of the builder design pattern.
Constructors
Functions
Returns a GesturesSettings reference to the object being constructed by the builder.
Setter for doubleTapToZoomInEnabled: whether double tapping the map with one touch results in a zoom-in animation. Default value: true.
Setter for doubleTouchToZoomOutEnabled: whether single tapping the map with two touches results in a zoom-out animation. Default value: true.
Setter for focalPoint: by default, gestures rotate and zoom around the center of the gesture. Set this property to rotate and zoom around a fixed point instead.
Setter for increasePinchToZoomThresholdWhenRotating: whether pinch to zoom threshold increases when rotating. true by default. Default value: true.
Setter for increaseRotateThresholdWhenPinchingToZoom: whether rotate threshold increases when pinching to zoom. true by default. Default value: true.
Setter for pinchScrollEnabled: whether pan is enabled for the pinch gesture. Default value: true.
Setter for pinchToZoomDecelerationEnabled: whether a deceleration animation following a pinch-to-zoom gesture is enabled. True by default. Default value: true.
Setter for pinchToZoomEnabled: whether the pinch to zoom gesture is enabled. Default value: true.
Setter for pitchEnabled: whether the pitch gesture is enabled. Default value: true.
Setter for quickZoomEnabled: whether the quick zoom gesture is enabled. Default value: true.
Setter for rotateDecelerationEnabled: whether a deceleration animation following a rotate gesture is enabled. True by default. Default value: true.
Setter for rotateEnabled: whether the rotate gesture is enabled. Default value: true.
Setter for scrollDecelerationEnabled: whether a deceleration animation following a scroll gesture is enabled. True by default. Default value: true.
Setter for scrollEnabled: whether the single-touch scroll gesture is enabled. Default value: true.
Setter for scrollMode: configures the directions in which the map is allowed to move during a scroll gesture. Default value: "horizontal-and-vertical".
Setter for simultaneousRotateAndPinchToZoomEnabled: whether rotation is enabled for the pinch to zoom gesture. Default value: true.
Setter for zoomAnimationAmount: the amount by which the zoom level increases or decreases during a double-tap-to-zoom-in or double-touch-to-zoom-out gesture. 1.0 by default. Must be positive. Default value: 1.