Currently the app returns all the data whenever anyone hits it. This isn't particuarly helpful if a user in Bournemouth is seeing results for Newcastle, Manchester and Cardiff.
We can use the browser location APIs to grab the user location, and then use the lat/lng data to search the data and only return results near the user.
Currently the app returns all the data whenever anyone hits it. This isn't particuarly helpful if a user in Bournemouth is seeing results for Newcastle, Manchester and Cardiff.
We can use the browser location APIs to grab the user location, and then use the lat/lng data to search the data and only return results near the user.