web에서는 기본적으로 navigator라는 obj를 제공해준다.여기서 사용자의 gps 데이터를 얻는 방법은 아래 코드와 같다 navigator.geolocation.getCurrentPosition( //사용자의 현재 위치를 받아오는 함수, 이 함수를 실행 시 웹에서 접근권한 허용 메세지가 뜬다. (data: GeolocationPosition) => { const { latitude, longitude } = data.coords; //여기에 데이터가 있다. const y: number = latitude; const x: number = longitude; console.log(x, y); }, ..