TomTomSDKSearchVisualization
-
Entry point for all methods related to the search visualization. Instances of
SearchVisualization
are created usingSearchVisualizationFactory/create(search:map:)
. You should call methods on these instances from the main thread only, otherwise an exception can occur. To use aSearchVisualization
instance, first provide a search results array with thedisplay(searchResults:)
method. You can then callclear()
to remove all the primitives that have been added to the map.Important
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
SearchVisualization
instances.This factory facilitates the creation of visualizations that represent search results on a map.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum SearchVisualizationFactory