Package com.yandex.mapkit.map

Enum GestureFocusPointMode

java.lang.Object
    ↳ java.lang.Enum
        ↳ com.yandex.mapkit.map.GestureFocusPointMode

final enum GestureFocusPointMode

Specifies the way provided zoom focus point affects gestures.

Enum Constant Summary

Enum Constants

Description

AFFECTS_TAP_GESTURES

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

AFFECTS_ALL_GESTURES

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

Summary

Methods

Type and modifiers

Method and Description

static GestureFocusPointMode[]

values()

static GestureFocusPointMode

valueOf(java.lang.String name)

Enum Constants Detail

AFFECTS_TAP_GESTURES

static final

GestureFocusPointMode

AFFECTS_TAP_GESTURES

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

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


AFFECTS_ALL_GESTURES

static final

GestureFocusPointMode

AFFECTS_ALL_GESTURES

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

@attention Scroll is suppressed when this mode is on and "pinch and stretch" or "rotation" gesture performed


Methods

values

GestureFocusPointMode[] values()


valueOf

GestureFocusPointMode valueOf(java.lang.String name)