autocomplete
: add support for locationbias
and locationrestriction
parameters
#1011
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Imagine having a rectangle for which you want to use
placeAutocomplete
to autocomplete places. Currently, only using the epicentre and radius is supported. This yields to many irrelevant autocompletions outside of the rectangle.Describe the solution you'd like
The Google Maps SDK for Place Autocomplete supports
setBounds
with a southwest and northeast coordinate, see the documentation. It'd be awesome for this library to support that as well.Describe alternatives you've considered
Now we're using the alternative with radius and filtering afterwards if an autocompletion is within our rectangle. That is an inefficient solution, both looking at requests, API costs and code.
Additional context
We'd be willing to support on the implementation when given some guidance.
The text was updated successfully, but these errors were encountered: