Request user geolocation, then adjust / zoom in on map to the location of the user to show nearest store

A function that uses geolocation API which pops up in the top left of the browser and asks to use the users current location. If the user selects yes, the map would auto zoom in to that location and then display the nearest stores to the users location. This would be very useful for stores that have many locations spread across a country / continent which would result in the user not having to manually zoom in to their location.

  • Guest
  • Feb 11 2021
  • Future consideration