onLongClicked

Create the LongClickInteraction for this layer.

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

Parameters

filter

optional filter. Defaults to NULL.

onLongClick

callback triggered when layer is clicked.