GeolocationCoordinates: altitudeAccuracy プロパティ

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.altitudeAccuracy は読み取り専用のプロパティで、厳密な正の double 値で、信頼度 95% の altitude の精度をメートル単位で表します。実装が高度の計測に対応していない場合、この値は null になります。

正の double 値で、信頼度 95% の altitude の精度をメートル単位で表します。

仕様書

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
altitudeAccuracy

Legend

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

Full support
Full support
Has more compatibility info.

関連情報