alongRouteSearch

Performs a synchronous search along the route described by the provided AlongRouteSearchOptions object. Delivers the Result containing an AlongRouteSearchResponse, or a SearchError if the action fails.

Return

The Result containing an AlongRouteSearchResponse if the call succeeds, or a SearchError if it fails.

Parameters

options

The object which contains search properties for the given search request.


Performs an asynchronous search along the route described by the provided AlongRouteSearchOptions object. Returns the result using the provided AlongRouteSearchCallback.

Parameters

options

The object which contains properties for the given search request.

callback

The AlongRouteSearchCallback invoked when the search operation has finished, either successfully or with an error. The callback will be executed on the main thread.