GoogleMap.OnPoiClickListener
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-07 UTC.
[null,null,["Last updated 2025-02-07 UTC."],[[["`GoogleMap.OnPoiClickListener` is an interface used to handle clicks on Points of Interest (POIs) on a Google Map."],["It includes a single method, `onPoiClick`, which is triggered when a POI is clicked or tapped, providing details about the selected POI."],["This method is executed on the Android UI thread, ensuring smooth interaction with the user interface."]]],[]]