react-native-google-places-autocomplete icon indicating copy to clipboard operation
react-native-google-places-autocomplete copied to clipboard

added location and radius for places search

Open yuvrajchaudhari03 opened this issue 2 years ago • 2 comments

If the user wants to search places within the restricted area using latitude and longitude and within the required radius I have added in the query so the user can pass these values as a props

location - lnt and lng string (ex. '2.232-3.343') radius - number (ex. 2000)

yuvrajchaudhari03 avatar Oct 31 '22 09:10 yuvrajchaudhari03

@FaridSafi can you please review this PL and merge/publish it asap?

yuvrajchaudhari03 avatar Oct 31 '22 10:10 yuvrajchaudhari03

You can just overwrite query directly in your code like so query={{ key: 'YOUR_API_KEY', language: 'en', location: 'lat,lng', radius: 2000 }}

VictorAny avatar Dec 27 '22 19:12 VictorAny