tomoakley / freemeals.uk

MIT License
10 stars 10 forks source link

Use browser location API to get location and then use this as search params #4

Closed tomoakley closed 3 years ago

tomoakley commented 3 years ago

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.

tomoakley commented 3 years ago

Closed by #17