From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/geolocationcoordinates/index.html | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 files/ja/web/api/geolocationcoordinates/index.html (limited to 'files/ja/web/api/geolocationcoordinates') diff --git a/files/ja/web/api/geolocationcoordinates/index.html b/files/ja/web/api/geolocationcoordinates/index.html new file mode 100644 index 0000000000..aee4cc64b2 --- /dev/null +++ b/files/ja/web/api/geolocationcoordinates/index.html @@ -0,0 +1,73 @@ +--- +title: GeolocationCoordinates +slug: Web/API/GeolocationCoordinates +tags: + - API + - Coordinates + - Geolocation API + - Interface + - Secure context +translation_of: Web/API/GeolocationCoordinates +--- +
+
{{securecontext_header}}{{APIRef("Geolocation API")}}
+ +
{{原語併記("GeolocationCoordinates", "座標")}} インターフェイスは地球上におけるデバイスの位置と高度、およびそれぞれの測位精度を表します。
+
+ +

プロパティ

+ +

GeolocationCoordinates インターフェイスが継承するプロパティはありません。

+ +
+
{{domxref("GeolocationCoordinates.latitude")}} {{readonlyInline}} {{securecontext_inline}}
+
このオブジェクトが示す緯度を十進度で表す、double 型の値を返します。
+
{{domxref("GeolocationCoordinates.longitude")}} {{readonlyInline}} {{securecontext_inline}}
+
このオブジェクトが示す経度を十進度で表す、double 型の値で返します。
+
{{domxref("GeolocationCoordinates.altitude")}} {{readonlyInline}} {{securecontext_inline}}
+
このオブジェクトが示す高度 (海面からの距離) をメートル単位で表す、double 型の値を返します。この情報を取得できない場合は null が返ります。
+
{{domxref("GeolocationCoordinates.accuracy")}} {{readonlyInline}} {{securecontext_inline}}
+
latitude および longitude プロパティの精度をメートル単位で表す、double 型の値を返します。
+
{{domxref("GeolocationCoordinates.altitudeAccuracy")}} {{readonlyInline}} {{securecontext_inline}}
+
altitude プロパティの精度をメートル単位で表す、double 型の値を返します。このプロパティは null になることがあります。
+
{{domxref("GeolocationCoordinates.heading")}} {{readonlyInline}} {{securecontext_inline}}
+
デバイスの移動方向を真北から何度離れているかで表す、double 型の値を返します。真北を指す 0 度から時計回りに、東が 90 度、西は 270 度となります。speed プロパティの値が 0 の時、 heading は常に NaN になります。もし heading の情報を取得できない場合は null が返ります。
+
{{domxref("GeolocationCoordinates.speed")}} {{readonlyInline}} {{securecontext_inline}}
+
デバイスの移動速度をメートル毎秒で表す、double 型の値を返します。このプロパティは null になることがあります。
+
+ +

メソッド

+ +

GeolocationCoordinates インターフェイスが実装・継承するメソッドはありません。

+ +

仕様

+ + + + + + + + + + + + + + + + +
仕様書策定状況コメント
{{SpecName('Geolocation', '#coordinates_interface', 'GeolocationCoordinates')}}{{Spec2('Geolocation')}}初期定義
+ +

ブラウザー実装状況

+ + + +

{{Compat("api.GeolocationCoordinates")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf