POITapObserver
public protocol POITapObserver : Observer
A protocol that defines the callback method for observing tap events on Points of Interest (POILocation
s).
Important
This is a Public Preview API. It may be changed or removed at any time.-
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
.Declaration
Swift
func didTap(on poi: POILocation, marker: Marker)
Parameters
poi
The
POILocation
object that was tapped.marker
The
Marker
of thePOILocation
that was tapped.