I want to set google place auto complete text box, but I want the user only to see those places listed, which are in under 5 Km by set location. I don't talk about near-by search. I tried google map API, but it does not show correctly. I used this API.
Make Request like this
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=5000&type=restaurant&keyword=cruise&key=AIzaSyB4sfadiVrHjkVPONVpLTLTwWnCaaWq6ok
For more information refer this link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With