TomTomSDKPOIVisualization
- 
                  
                  
Describes the detour details related to points of interest along the route.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct OnRouteDetourDetails : Hashable 
- 
                  
                  
Represents a Point of Interest Location (
POILocation) with associated metadata.A
POILocationencapsulates the data required to plot a point on a map, including its coordinates and additional information such as its category and potential detour metrics.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct POILocation : Equatable 
- 
                  
                  
A protocol that defines the callback method for observing tap events on Points of Interest (
POILocations).See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol POITapObserver : Observer 
- 
                  
                  
A protocol that provides methods to visualize Points of Interest (
POILocations) 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 ofPOILocationinstances with thedisplay(pois:)method. You can then calldisplay(pois:)orclear()to remove thePOILocationinstances 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 - 
                  
                  
Responsible for creating instances of objects conforming to the
POIVisualizationprotocol.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum POIVisualizationFactory 
- 
                  
                  
Declaration
Swift
extension POIVisualizer: MapInteractionObserver 
        
 
          TomTom SDK for iOS (0.51.1)
        
          TomTomSDKPOIVisualization