I’m putting this here because I ran into a confounding issue that it took me a long time to find a solution for, and I’m hoping to solve the issue for others in the same situation.
You’re using Firefox and OpenStreetMap on a Mac and you’re clicking on the “Show My Location” icon in the toolbar and you’re seeing the error “Geolocation error: User denied geolocation prompt”:
You’re seeing this despite having granted Firefox permission to use your location for openstreetmap.org:
You are confounded. You search for answers, and all you find are references to geolocation and https, but you’re already accessing openstreetmap.org via https, so that’s not the issue.
The issue might lie with your macOS Location Settings:
Open System Preferences > Security & Privacy > Location Services and make sure the Firefox.app settings is checked (you might need to click on the padlock in the bottom-left and enter your system password to be able to make this change).
Once you do this, you should find that the “Show My Location” process works in OpenStreetMap as expected:
Comments
yes it works! very useful
yes it works! very useful
thank you very much
Wow, could have been stuck on
Wow, could have been stuck on this for a very long time... Thanks, your post really helped.
Thank you so much for this! I
Thank you so much for this! I was totally stuck trying to figure out why this was broken in FF.
May you look fantastic in
May you look fantastic in hats for the rest of your days.
May a panda be born for every
May a panda be born for every developer you've helped with this issue!
Add new comment