Position

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

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

속성

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

Position.coords Read only Secure context
주어진 시간의 위치를 나타내는 Coordinates 객체입니다.
Position.timestamp Read only Secure context
위치를 기록한 시간을 나타내는 DOMTimeStamp입니다.

메서드

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

명세

Specification Status Comment
Geolocation API
The definition of 'Position' in that specification.
Recommendation Initial specification.

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
PositionChrome Full support 5Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 16Safari Full support 5WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support 16Safari iOS Full support YesSamsung Internet Android ?
coordsChrome Full support 5Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support 16Safari Full support 5WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support 16Safari iOS Full support YesSamsung Internet Android ?
Secure context requiredChrome Full support 47Edge Full support YesFirefox Full support 55IE No support NoOpera Full support YesSafari Full support YesWebView Android Full support 47Chrome Android Full support 47Firefox Android Full support 55Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
timestampChrome Full support 5Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support 16Safari Full support 5WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support 16Safari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

같이 보기