setOnPolylineClickListener

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

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

Parameters

listener

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