GeolocationPosition

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

* Some parts of this feature may have varying levels of support.

보안 컨텍스트: 이 기능은 일부 또는 모든 지원 브라우저보안 컨텍스트 (HTTPS)에서만 사용할 수 있습니다.

GeolocationPosition 인터페이스는 주어진 시간에 장치가 위치한 지점을 나타냅니다. 지점은 Coordinates 객체로 표현하여, 지구를 나타내는 회전타원체 위의 2D 위치와 더불어 높이와 속도 정보를 담습니다.

속성

GeolocationPosition 인터페이스는 어떤 속성도 상속하지 않습니다.

Position.coords 읽기 전용 보안 컨텍스트

주어진 시간의 위치를 나타내는 Coordinates 객체입니다.

Position.timestamp 읽기 전용 보안 컨텍스트

위치를 기록한 시간을 나타내는 DOMTimeStamp입니다.

메서드

GeolocationPosition 인터페이스는 어떤 메서드도 상속하거나 구현하지 않습니다.

명세

Specification
Geolocation
# position_interface

브라우저 호환성

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
GeolocationPosition
coords
Secure context required
timestamp
toJSON

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Uses a non-standard name.
Has more compatibility info.

같이 보기