GeolocationCoordinates.latitude
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
GeolocationCoordinates.latitude は読み取り専用のプロパティであり、 double 値でその位置の緯度を 10 進形式で表します。
構文
js
let lat = geolocationCoordinatesInstance.latitude
値
double 値でその位置の緯度を 10 進形式で表します。
仕様書
| Specification |
|---|
| Geolocation API # latitude-longitude-and-accuracy-attributes |
ブラウザーの互換性
BCD tables only load in the browser