invoke

operator fun invoke(onLongClick: (InteractionContext) -> Boolean): LongClickInteraction<Nothing>

Create the LongClickInteraction for the map surface itself.

When several map LongClickInteractions are registered - the callbacks will be triggered from last to first.

Parameters

onLongClick

callback triggered when map surface is clicked.