onMapLongClicked

Add 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.