+ 2
Is it necessary to use geolocation API ?
In HTML5 , is it necessary to use geolocation API ?
11 Answers
+ 3
Parth Shendge And dont worry if you haven’t learnt javaScript yet .
You can leave geolocation Apis for now as i guess youre learning HTML .
When you start learning JS . geolocation will come back itself and you will see how easy it is to comprehend it afterwards .
Keep coding .
+ 4
I had a weather code snippet i wrote and tried posting that here but sololearn code playground wont let you run it .
You need to use codepen.io or github pages for it .
Geolocstion is a nice tool though
+ 4
Kash I guess that the android (and maybe the ios) app suffers of this limitation (as it suffers of lacks of webstorage and cookies), but it would works fine throug the website version of the code playground... Isn't it ?
+ 3
Nope it doesn’t . Have to use iframe to post it here way back .
Some mods answered that it is because of security reasons of the sololearn users at that time . So I dont know if it has changed but back then it didn’t work .
https://www.sololearn.com/discuss/814767/?ref=app
Here is the post where I asked the same question
+ 2
Kash , thank you .
+ 1
If we create a form , then , do we need user's location ?
+ 1
For which functions do we need user's location ?
+ 1
That's not mandatory :D
All the more that geolocalisation requires some fallbacks, as user may not allow for website to geolocalize them ^^
+ 1
I feel geolocation API little difficult because I didn't learn JavaScript . Therefore I asked this question . Ok thanks .
0
Since using GPS navigation is very common nowadays, it has completely changed the way people use maps. Everything is digitalized, and paper version of maps are now outdated. However, with the ability to know exactly where you are, you must agree that you allow the application to do so, because gathering your data without your permission endangers your privacy. That is why applications that use HTML Geolocation will always ask for your permission. So, the user will be prompted with a popup or dialog requesting the user's permission to share the location information. The user can accept or deny the request. The Geolocation API of HTML5 helps in identifying the user's location, which can be used to provide location-specific information or route navigation details to the user.The Geolocation API uses any one of these techniques to identify the user's location.
0
No