FeatureLayer.OnFeatureClickListener
A user-defined function that will be used to handle FeatureClickEvent
. Only visible
features are clickable.
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-05-07 UTC.
[null,null,["Last updated 2025-05-07 UTC."],[[["`FeatureLayer.OnFeatureClickListener` is a user-defined function for handling FeatureClickEvents, triggered when a visible feature on a map is clicked."],["It includes a single method, `onFeatureClick`, which is called with a `FeatureClickEvent` object containing details about the click event."],["Only features that are visible on the map are clickable and will trigger this event."]]],[]]