+ 3

How can a use Geolocation API?

24th Apr 2017, 5:12 PM
Esmael Sousa
Esmael Sousa - avatar
2 Answers
+ 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