Package com.yandex.mapkit.map

Interface InputListener

interface InputListener

Listener for user interactions with the map.

Summary

Methods

Type and modifiers

Method and Description

void

onMapTap(@NonNull Map map,
         @NonNull Point point)

Called when a tap occurred unless a tap was handled by geo objects or map objects.

void

onMapLongTap(@NonNull Map map,
             @NonNull Point point)

Called when a long tap occurred.

Methods

onMapTap

@UiThread
void onMapTap(@NonNull Map map,
              @NonNull Point point)

Called when a tap occurred unless a tap was handled by geo objects or map objects.

param@ position absolute screen coordinates


onMapLongTap

@UiThread
void onMapLongTap(@NonNull Map map,
                  @NonNull Point point)

Called when a long tap occurred.


Previous