Open magnificode opened 4 years ago
Looking good to me, I don't think I have much more to add. Just needs designs and I recon this can get started asap :)
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {/* do something */})
}
Hi, can I be assigned to this task?
@sonAndrew - apologies for the delay! Thanks for picking this up!
User Story
As a user I want to allow RBB to use my IP location So I can view businesses near me
Acceptance Criteria
Describe the solution you'd like
We need to add a button within the filters that will trigger the Geolocation API to get the users location, and update the search results based on that location.
We will need to be sure that the Geolocation data that is passed to the API is a latitude and longitude.