GoogleMap.OnPolygonClickListener

  • GoogleMap.OnPolygonClickListener is an interface used to handle clicks on polygons displayed on a GoogleMap.

  • It includes a single method, onPolygonClick, which is triggered when a polygon is clicked and provides access to the clicked Polygon object.

  • onPolygonClick is executed on the Android UI thread.

public static interface GoogleMap.OnPolygonClickListener

Callback interface for when a polygon is clicked.

Public Method Summary

abstract void
onPolygonClick(Polygon polygon)
Called when a polygon is clicked.

Public Methods

public abstract void onPolygonClick (Polygon polygon)

Called when a polygon is clicked.

This is called on the Android UI thread.

Parameters
polygon The polygon that is clicked.