You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Environment
Leaflet version: Version found as of 5/23/2020 on Cyclosm.org and OpenStreetMap.org. (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
Tesla/2020.16.2.1-e99c70fff409"
OS/Platform (with version): Tesla-fied version of Ubuntu
Additional context
No permission requested at OpenStreetMap.org and Cyclosm.org ...
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.
Hi!
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.
Steps to reproduce
Steps to reproduce the behavior:
Open any Leaflet based mapping site.
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.
Environment
Chromium/79.0.3945.130 Chrome/79.0.3945.130 Safari/537.36
Tesla/2020.16.2.1-e99c70fff409"
Additional context
No permission requested at OpenStreetMap.org and Cyclosm.org ...
Permission is requested at Mapillary.com ...
I found the announcement that "Geolocation API Removed from Unsecured Origins in Chrome 50", however these sites are all using HTTPS.
The text was updated successfully, but these errors were encountered: