TomTomSDKSearchVisualization
-
These configuration parameters are used to execute a Point of Interest (
TomTomSDKPOIVisualization/POI) search.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct SearchConfiguration -
Entry point for all methods related to the search visualization. Instances of
SearchVisualizationare created usingcreate(search:map:). You should call methods on these instances from the main thread only, otherwise an exception can occur. To use aSearchVisualizationinstance, first provide a route geometry and aSearchConfigurationwith thedisplayPOIsAlongRoute(geometry:configuration:completion:)method. You can then callclear()to remove all the primitives that have been added to the map. Additionally, you can add or remove tap observers for theTomTomSDKPOIVisualization/POIs using theaddTapObserver(_:)andremoveTapObserver(_:)methods, respectively.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol SearchVisualization
-
A factory responsible for constructing
SearchVisualizationinstances.This factory facilitates the creation of visualizations that represent search results on a map.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum SearchVisualizationFactory
TomTom SDK for iOS (0.40.0)
TomTomSDKSearchVisualization