“Straightforward”? Not quite. You will need to calculate the distance between the input location and each location in your database. To do this, you will need to avail yourself of a distance calculating service such as Google Maps . See the example Google Place example to see how to get started using the API. An Internet search might turn up some other distance calculating services.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Hi all, I want to get a list of locations (lat/long stored in database) within a range of 10 km of browser geolocation. Is this possible? | 3 | 142 | December 17, 2018 | |
| Calculation based database filter | 1 | 381 | June 12, 2018 | |
| Search database by postcode | 1 | 752 | September 22, 2017 | |
| Is this possible, how? It's like zomato restaurant finder | 2 | 343 | June 12, 2018 | |
| Filter Database from Lat/Lng epicenter + 10km radius | 1 | 206 | April 15, 2019 |