addPolylineClickListener

Registers the PolylineClickListener that will be notified about any Polyline being clicked. The clicked Polyline becomes a parameter of the PolylineClickListener.onPolylineClicked callback.

Parameters

listener

Throws

if listener is already added.