Tintef / react-google-places-autocomplete

React Google Places Autocomplete input -- fully customizable
https://tintef.github.io/react-google-places-autocomplete
MIT License
378 stars 162 forks source link

Accept LocationRestriction #332

Closed thilina4321 closed 2 months ago

thilina4321 commented 1 year ago
Bounds, location, and radius in the Maps JavaScript API Place Autocomplete Service (Deprecated as of May 2023)

For the Place Autocomplete Service in the Maps JavaScript API, the following request options are deprecated as of May 2023: bounds, location, and radius. Please use locationBias and locationRestriction instead. The feature will continue to work, and 12 months notice will be given before support is discontinued.

Reference for this can be found here

Tintef commented 2 months ago

Hey,I had some free time and was able to put this up on a new PR. Will close this one as it's outdated and missing some bit and pieces.