Skip to content

MapEventSource

MapEventSource #

Bases: Enum

Defines the source of a MapEvent.

CURSOR_KEYBOARD_ROTATION #

CURSOR_KEYBOARD_ROTATION = 'cursorKeyboardRotation'

The MapEvent is caused by a 'CTRL + drag' rotation gesture.

CUSTOM #

CUSTOM = 'custom'

The MapEvent is caused by a custom source.

DOUBLE_TAP #

DOUBLE_TAP = 'doubleTap'

The MapEvent is caused by a double tap gesture.

DOUBLE_TAP_HOLD #

DOUBLE_TAP_HOLD = 'doubleTapHold'

The MapEvent is caused by a double tap and hold gesture.

DOUBLE_TAP_ZOOM_ANIMATION_CONTROLLER #

DOUBLE_TAP_ZOOM_ANIMATION_CONTROLLER = (
    "doubleTapZoomAnimationController"
)

The MapEvent is caused by the AnimationController while performing the double tap zoom in animation.

DRAG_END #

DRAG_END = 'dragEnd'

The MapEvent is caused by the end of a drag gesture.

DRAG_START #

DRAG_START = 'dragStart'

The MapEvent is caused by the start of a drag gesture.

FIT_CAMERA #

FIT_CAMERA = 'fitCamera'

The MapEvent is caused by calling fit_camera.

FLING_ANIMATION_CONTROLLER #

FLING_ANIMATION_CONTROLLER = 'flingAnimationController'

The MapEvent is caused by the AnimationController while performing the fling gesture.

INTERACTIVE_FLAGS_CHANGED #

INTERACTIVE_FLAGS_CHANGED = 'InteractionFlagsChanged'

The MapEvent is caused by a change of the interactive flags.

KEYBOARD #

KEYBOARD = 'keyboard'

The MapEvent is caused by a keyboard key. See KeyboardConfiguration for details.

LONG_PRESS #

LONG_PRESS = 'longPress'

The MapEvent is caused by a long press gesture.

MAP_CONTROLLER #

MAP_CONTROLLER = 'mapController'

The MapEvent is caused programmatically by the MapController.

MULTI_FINGER_GESTURE_END #

MULTI_FINGER_GESTURE_END = 'multiFingerEnd'

The MapEvent is caused by a the end of a two finger gesture.

MULTI_FINGER_GESTURE_START #

MULTI_FINGER_GESTURE_START = 'multiFingerGestureStart'

The MapEvent is caused by the start of a two finger gesture.

NON_ROTATED_SIZE_CHANGE #

NON_ROTATED_SIZE_CHANGE = 'nonRotatedSizeChange'

The MapEvent is caused by a size change of the Map constraints.

ON_DRAG #

ON_DRAG = 'onDrag'

The MapEvent is caused by a drag update gesture.

ON_MULTI_FINGER #

ON_MULTI_FINGER = 'onMultiFinger'

The MapEvent is caused by a two finger gesture update.

SCROLL_WHEEL #

SCROLL_WHEEL = 'scrollWheel'

The MapEvent is caused by a scroll wheel zoom gesture.

SECONDARY_TAP #

SECONDARY_TAP = 'secondaryTap'

The MapEvent is caused by a secondary tap gesture.

TAP #

TAP = 'tap'

The MapEvent is caused by a tap gesture.