displayPoisAlongRoute
abstract fun displayPoisAlongRoute(geometry: List<GeoPoint>, configuration: SearchConfiguration, callback: SearchVisualizationCallback): Cancellable
Display Points of Interest Pois along a specified route with a given configuration.
Return
Cancellable operation.
Parameters
geometry
List of GeoPoints that defines a route geometry.
configuration
The configuration for the Poi search.
callback
The SearchVisualizationCallback invoked when the search operation has been finished either successfully or with an error. It returns a list of displayed Pois on success, or an error on failure. The callback will be executed in the main thread.