If you've recently updated to Mac OS 10.15 Catalina you will need to re-enable location services on your device. To grant permission for your browser to retrieve location data navigate to system preferences-
Choose Security and Privacy.
While in the Security and Privacy panel, click on the padlock on the bottom right corner to unlock administrator privileges.
Type in your Mac login credentials. Click on Unlock button.
Click on Enable Location Services.
Click on your browser in the list to enable your browser to retrieve the best location.