search

suspend fun search(query: String, region: BoundingBox? = null, proximity: Point? = null, options: PlaceAutocompleteOptions = PlaceAutocompleteOptions())

Performs suggestions request.

Parameters

query

The 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.

options

Place autocomplete options.