addInteractionListener

Add a callback to be invoked when a annotation has been selected or deselected.

Parameters

i

the callback to be invoked when a annotation is selected or deselected