onMapClicked

Add the ClickInteraction for the map surface itself.

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

Parameters

onClick

callback triggered when map surface is clicked.