suggestions
abstract suspend fun suggestions(query: String, region: BoundingBox? = null, proximity: Point? = null, options: PlaceAutocompleteOptions = PlaceAutocompleteOptions()): Expected<Exception, List<PlaceAutocompleteSuggestion>>
Performs forward geocoding request.
Return
Result of the search request, one of error or value.
Parameters
query
Search query.
region
Limit results to only those contained within the supplied bounding box.
proximity
Optional geographic point that bias the response to favor results that are closer to this location. If not specified the SDK will try to get user location from the LocationProvider that was provided in the PlaceAutocomplete.create.
options
Request options.