0

I'm building a flutter app which should show the nearby locations of the user as a list. I have used locations plugin to find the user's location, which now returns latitude and longitude.

Is it possible using this information (lat & long) to show the nearby locations as a list, not using a map?

Peter
  • 121
  • 1
  • 9
  • You can use Places API.. Autocomplete for serarching places Nearby https://stackoverflow.com/a/55045772/10579969 – Navin Kumar Mar 23 '19 at 07:45

2 Answers2

0

Sure. You can use Google Places API :

Use location property to pass lat and long.

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&key=YOUR_API_KEY

Rubens Melo
  • 3,111
  • 15
  • 23
0

Yes its possible, use Google Places API https://developers.google.com/places/web-service/search

Use location property to pass lat lng as suggested in the documentation link provided.