GeolocationCoordinates: altitude 속성

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.

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

GeolocationCoordinates.altitude 읽기 전용 속성은 평균 해수면을 정의하는 WGS84 타원체를 기준으로 했을 때, 이 위치의 고도를 미터 단위로 표현한 double입니다. 구현체가 고도 데이터를 제공하지 못하면 이 값은 null입니다.

WGS84 타원체를 기준으로 한 미터 단위의 고도를 나타내는 double입니다.

명세서

Specification
Geolocation
# altitude-and-altitudeaccuracy-attributes

브라우저 호환성

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
altitude

Legend

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

Full support
Full support
Has more compatibility info.

같이 보기