GoogleMap.OnPoiClickListener

  • The GoogleMap.OnPoiClickListener interface is a listener for POI taps on a map.

  • The onPoiClick method is called when a point of interest (POI) is clicked or tapped.

  • The onPoiClick method is executed on the Android UI thread and receives the clicked PointOfInterest as a parameter.

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.