SearchVisualizationFactory
public enum SearchVisualizationFactory
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.-
Produces a
SearchVisualization
instance configured with a specified search object and map interface.Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public static func create(search: Search, map: TomTomMap) -> SearchVisualization
Parameters
search
The
Search
instance responsible for retrieving search data.map
The
TomTomMap
instance where the search results are visualized.Return Value
A fully configured
SearchVisualization
object ready for use.