Enum ZoomFocusPointMode

com.yandex.mapkit.map

public enum ZoomFocusPointMode

Specifies the way provided zoom focus point affects gestures.

Fields

AFFECTS_ALL_GESTURES

All zoom gestures: pinch and stretch, tap and swipe, double tap, tap with two fingers use provided zoom focus point and ignore their source point.

AFFECTS_TAP_GESTURES

Only "double tap" (zoom in) and "tap with two fingers" (zoom out) use provided zoom focus point.

Field Detail

AFFECTS_ALL_GESTURES

public

All zoom gestures: pinch and stretch, tap and swipe, double tap, tap with two fingers use provided zoom focus point and ignore their source point.

Note: Pinch and stretch gesture will also suppress scroll and rotation when this mode is on.

AFFECTS_TAP_GESTURES

public

Only "double tap" (zoom in) and "tap with two fingers" (zoom out) use provided zoom focus point.

Other zoom gestures ignore it and continue to use their source point for transformation.