PoiClickListener

fun interface PoiClickListener

An interface that defines the callback method for observing tap events on Points of Interest (Pois).

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun onPoiClicked(poi: PoiLocation, marker: Marker)

Called when a Point of Interest (PoiLocation) is tapped on the map. Implementing objects can use this method to take necessary actions related to the tapped PoiLocation.