Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a "boundLimits" prop that adds AutocompletionRequest.bounds option to the api request #167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Apeli
Copy link

@Apeli Apeli commented Dec 20, 2021

We needed to narrow down the area of our autocomplete searches.

Needs the lower left (South-West) and upper right (North-East) point coordinates of the bounding rectangle.

Example use in the component:

<vue-google-autocomplete
:boundLimits="{sw:{lat:60.096670, lon:24.583181}, ne:{lat:60.391643, lon:25.214419}}"
...
/>

https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest.bounds

@harry-fakir
Copy link

bump

@ZaidAbo
Copy link

ZaidAbo commented Apr 12, 2023

Hi ... can u please add this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants