Google is committed to advancing racial equity for Black communities. See how.

GoogleMap.OnPoiClickListener

public static interface GoogleMap.OnPoiClickListener

A listener for POI taps.

Public Method Summary

abstract void
onPoiClick(PointOfInterest poi)
Called when a POI is clicked or tapped.

Public Methods

public abstract void onPoiClick (PointOfInterest poi)

Called when a POI is clicked or tapped.

This is called on the Android UI thread.

Parameters
poi The point of interest that was clicked or tapped.