POITapObserver
public protocol POITapObserver : Observer
A protocol that defines the callback method for observing tap events on Points of Interest (POILocations).
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
poiThe
POILocationobject that was tapped.markerThe
Markerof thePOILocationthat was tapped.
TomTom SDK for iOS (0.53.1)
POITapObserver