create

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

Creates an instance of the default implementation of SearchVisualization.

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

Parameters

search

The Search instance responsible for retrieving search data.

tomtomMap

The entry point for the map on which the routes will be drawn.