Protocols
The following protocols are available globally.
-
A protocol that provides methods to visualize Points of Interest (
POIs) on a map interface using theTomTomMapinstance. Instances ofPOIVisualizationare created usingcreate(map:)You should call methods on these instances from the main thread only, otherwise an exception can occur. To use aPOIVisualizationinstance, first provide a list ofPOIwith thedisplay(pois:)method. You can then calldisplay(pois:)orclear()to remove thePOIs that have been added to the map byPOIVisualization.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol POIVisualization
Protocols Reference