+ 10
How to get the location of a user using Javascript in the code playground?
Code playground is not supporting the navigator.geolocation.getCurrentPosition(); command
7 Answers
+ 11
Okay and Thanks again CalviŐ˛ .
+ 5
If you run web code from code playground, it only return you Sololearn US server location.
https://code.sololearn.com/Wlj0cY7ZAlTs/?ref=app
+ 5
There is no way to get the current location?? CalviŐ˛
+ 5
Thanks CalviŐ˛ but I was trying to make something which people could access from code playground itself.
+ 4
put the code to online webpage would get the location of the visitors.
+ 1
There is no way to get user information from code playground, because of the web execution is on Sololearn VM, before feed the HTML back to your phone webview.
0
we cant get the location of users through sololearn but if you create a blog or website then you can get. !!