create

fun create(search: Search, tomtomMap: TomTomMap): SearchVisualization

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.

Multiple instances of SearchVisualization may coexist, each associated with its own TomTomMap. This is useful, for example, when creating a multiple-screen setup.

Return

A fully configured SearchVisualization object ready for use.

Parameters

search

The Search instance responsible for retrieving search data.

tomtomMap

the TomTomMap instance where the search results are visualized.