TomTomSDKPOIVisualization

  • POI

    Represents a Point of Interest (POI) with associated metadata.

    A POI encapsulates the data required to plot a point on a map, including its coordinates and additional information such as its category and potential detour metrics.

    Important

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

    Declaration

    Swift

    public struct POI : Equatable

POITapObserver

  • 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.
    See more

    Declaration

    Swift

    public protocol POITapObserver : Observer

POIVisualization

  • A protocol that provides methods to visualize Points of Interest (POIs) on a map interface using the TomTomMap instance. Instances of POIVisualization are created using create(map:) You should call methods on these instances from the main thread only, otherwise an exception can occur. To use a POIVisualization instance, first provide a list of POI with the display(pois:) method. You can then call display(pois:) or clear() to remove the POIs that have been added to the map by POIVisualization.

    Important

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

    Declaration

    Swift

    public protocol POIVisualization
  • Responsible for creating instances of objects conforming to the POIVisualization protocol.

    Important

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

    Declaration

    Swift

    public enum POIVisualizationFactory

MapInteractionObserver

  • Declaration

    Swift

    extension POIVisualizer: MapInteractionObserver