setOnFeatureClickListener

Sets a single click listener for the entire GoogleMap object, that will be called with the corresponding Feature object when an object on the map (Polygon, Marker, Polyline) is clicked.

If getFeature() returns null this means that either the object is inside a KMLContainer, or the object is a MultiPolygon, MultiLineString or MultiPoint and must be handled differently.

Parameters

listener

Listener providing the onFeatureClick method to call.