Is it necessary to use geolocation API ?
In HTML5 , is it necessary to use geolocation API ?
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
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 ?
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
Kash , thank you .
If we create a form , then , do we need user's location ?
For which functions do we need user's location ?
That's not mandatory :D All the more that geolocalisation requires some fallbacks, as user may not allow for website to geolocalize them ^^
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.