New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see
New map style for Google Maps Platform .
Send feedback
GoogleMap.OnPoiClickListener
Stay organized with collections
Save and categorize content based on your preferences.
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License ,and code samples are licensed under theApache 2.0 License .For details, see theGoogle Developers Site Policies .Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
Need to tell us more?
[[[ "Easy to understand", "easyToUnderstand", "thumb-up" ],[ "Solved my problem", "solvedMyProblem", "thumb-up" ],[ "Other", "otherUp", "thumb-up" ]],[[ "Missing the information I need", "missingTheInformationINeed", "thumb-down" ],[ "Too complicated / too many steps", "tooComplicatedTooManySteps", "thumb-down" ],[ "Out of date", "outOfDate", "thumb-down" ],[ "Samples / code issue", "samplesCodeIssue", "thumb-down" ],[ "Other", "otherDown", "thumb-down" ]],[ "Last updated 2024-10-04 UTC." ],[],[]]