setOnMarkerClickListener

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Sets a callback that's invoked when the user clicks on a marker.

Parameters

listener

The callback that's invoked when the user clicks on a marker. To unset the callback, use null.