+ 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 Antworten
+ 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. !!