POITapObserver

public protocol POITapObserver : Observer

A protocol 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.
  • Called when a Point of Interest (POI) is tapped on the map.

    Implementing objects can use this method to take necessary actions related to the tapped POI.

    Declaration

    Swift

    func didTap(on poi: POI, marker: Marker)

    Parameters

    poi

    The POI object that was tapped.

    marker

    The Marker of the POI that was tapped.