Open Apeli opened 2 years ago
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
bump
Hi ... can u please add this?
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:
https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest.bounds