How can a use Geolocation API? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

How can a use Geolocation API?

24th Apr 2017, 5:12 PM
Esmael Sousa
Esmael Sousa - avatar
2 Réponses
+ 12
if you want to use it asynchronously see here: https://code.sololearn.com/WTOMV5z2pZ3x/?ref=app
24th Apr 2017, 5:31 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 11
HTML5? Geolocation.getCurrentPosition() is the method you should use.
24th Apr 2017, 5:24 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar