Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
* Some parts of this feature may have varying levels of support.
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
GeolocationPosition インターフェイスは対象のデバイスのある時間における現在位置を表します。GeolocationCoordinates オブジェクトで表される位置情報には、地球を表す楕円体上における平面座標のほかに、高度や速度といった情報も含まれます。
GeolocationPosition インターフェイスが継承するプロパティはありません。
GeolocationPosition.coords 読取専用現在位置を示す GeolocationCoordinates オブジェクトを返します。
GeolocationPosition.timestamp 読取専用位置情報が取得された時刻を表すタイムスタンプを、ミリ秒単位の Unix 時刻で返します。
GeolocationPosition インターフェイスが継承しているメソッドはありません。
GeolocationPosition.toJSON()この GeolocationPosition オブジェクトの JSON 表現を返し、 JSON.stringify() でシリアライズすることができるようにします。
| Geolocation # position_interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年12月17日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.