Protocols
The following protocols are available globally.
-
Entry point for all methods related to the search visualization. Instances of
SearchVisualizationare created usingSearchVisualizationFactory.create(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 gemoetry and aPOISearchConfigurationwith theSearchVisualization.displayPOIsAlongRoute(geometry:configuration)method. You can then callclear()to remove all the primitives that have been added to the map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol SearchVisualization
Protocols Reference