Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation error: User denied Geolocation on Tesla Chromium based browser #7157

3 tasks done
treestryder opened this issue May 23, 2020 · 5 comments
3 tasks done
brainmelt compatibility Cross-browser/device/environment compatibility needs investigation


Copy link

treestryder commented May 23, 2020

  • I've looked at the documentation to make sure the behavior is documented and expected
  • I'm kinda sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
  • I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Steps to reproduce the behavior:

  • step 1
    Open any Leaflet based mapping site.
  • step 2
    Select its "Show My Location" option.

Expected behavior
Sites like Google Maps and Mapillary query for current location permission and work after granting permission.

Current behavior
Immediately, after selecting "Show My Location" the message "Geolocation error: User denied Geolocation" pops up, without actually querying for permissions to the location.


  • Leaflet version: Version found as of 5/23/2020 on and (found VERSION:"1.0.3" in the minified code, but not sure it is related).
  • Browser (with version): Tesla Car Browser 79, found in a Tesla Model 3 at version 2020.16.2.1. Full user agent string is "Mozilla/5.0 (X11; GNU/Linux) AppleWebKit/537.36 (KHTML, like Gecko)
    Chromium/79.0.3945.130 Chrome/79.0.3945.130 Safari/537.36
  • OS/Platform (with version): Tesla-fied version of Ubuntu

Additional context
No permission requested at and ...


Permission is requested at ...


I found the announcement that "Geolocation API Removed from Unsecured Origins in Chrome 50", however these sites are all using HTTPS.

Copy link

IvanSanchez commented May 27, 2020

@treestryder Could you please try and see if that works as expected?

Copy link

treestryder commented May 29, 2020

Well, it asked for my permission...

And despite saying "denied", they have my position, as successfully shown on the map, within 0.78 meters...

@IvanSanchez IvanSanchez added brainmelt compatibility Cross-browser/device/environment compatibility needs investigation labels May 29, 2020
Copy link

IvanSanchez commented May 29, 2020

What the heck is going on and how could any maintainer test this without buying a new car? Damn.

Copy link

treestryder commented May 30, 2020

Every FLOSS maintainer deserves a Tesla.

In the meantime, I will do what I can to help. I have some coding and debugging skills, however I am coming into this afresh (not sure where to start) and have no way to hit F12 on this browser.

Copy link

aanndd commented Jul 10, 2021

If the code ask to 'watch' positions then the user isn't asked for permission and you get an error on tesla,
but if the code only ask for one position then the user is asked for permission and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
brainmelt compatibility Cross-browser/device/environment compatibility needs investigation
None yet

No branches or pull requests

3 participants