searchByCoordinates method - SearchInterface class - search library - Dart API
searchByCoordinates
searchByCoordinates abstract method
- GeoCoordinates coordinates,
- SearchOptions options,
- SearchCallback callback
Performs an asynchronous search for Place instances based on the given geographic coordinates.
This is the same search type as reverse geocoding, except that more data is returned than just the Address related to the given coordinates. Note that more than one Place can be related to the given coordinates. The returned places are sorted by relevance.
-
coordinatesThe coordinates where to search. -
optionsSearch options. -
callbackCallback which receives result on the main thread.
Returns TaskHandle. Handle that will be used to manipulate execution of the task.
Implementation
TaskHandle searchByCoordinates(GeoCoordinates coordinates, SearchOptions options, SearchCallback callback);