Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 3
How can a use Geolocation API?
2 ответов
+ 12
if you want to use it asynchronously see here:
https://code.sololearn.com/WTOMV5z2pZ3x/?ref=app
+ 11
HTML5? Geolocation.getCurrentPosition() is the method you should use.