search Along Route
abstract fun searchAlongRoute(query: String, proximity: Point, route: List<Point>, executor: Executor, callback: OfflineSearchCallback): AsyncOperationTask
Performs a search along the supplied route.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
query
the search query
proximity
coordinate along the route
route
list of points that make up route line
executor
executor for dispatching event, by default events are dispatched to the main thread
callback
search result callback, delivers results on the main thread
open fun searchAlongRoute(query: String, proximity: Point, route: List<Point>, callback: OfflineSearchCallback): AsyncOperationTask
Performs a search along the supplied route.
Return
AsyncOperationTask object which allows to cancel the request.
Parameters
query
the search query
proximity
coordinate along the route
route
list of points that make up route line
callback
search result callback, delivers results on the main thread