addPolygonClickListener

Registers the PolygonClickListener that will be notified about any Polygon being clicked. The clicked Polygon becomes a parameter of the PolygonClickListener.onPolygonClicked callback.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

listener

Throws

if listener is already added.