GoogleMap.OnPolygonClickListener

  • GoogleMap.OnPolygonClickListener is a callback interface triggered when a polygon is clicked.

  • The onPolygonClick method is called on the Android UI thread when a polygon is clicked, providing the clicked Polygon object as a parameter.

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.