Geolocation: getCurrentPosition() メソッド - Web API | MDN
Geolocation.getCurrentPosition() メソッドは、端末の現在位置を取得するために使われます。