会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
Package google.type
LatLng
緯度と経度のペアを表すオブジェクト。これは緯度を表す倍精度値と経度を表す倍精度値のペアで表現されます。特に明記されていない場合、これは WGS84 規格に準拠する必要があります。値は正規化範囲内で指定する必要があります。
フィールド |
latitude |
double
緯度(度単位)。[-90.0, +90.0] の範囲内で指定する必要があります。
|
longitude |
double
経度(度単位)。[-180.0, +180.0] の範囲内で指定する必要があります。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-02 UTC。
[null,null,["最終更新日 2023-12-02 UTC。"],[[["LatLng is a message used to represent a location on the earth's surface using latitude and longitude coordinates."],["Latitude and longitude values are expressed as doubles and should conform to the WGS84 standard."],["Latitude must be within the range of -90.0 to +90.0 degrees, while longitude must be within the range of -180.0 to +180.0 degrees."]]],["The core content describes the `LatLng` object, which represents a latitude/longitude pair using double values for degrees. It adheres to the WGS84 standard. The `latitude` field, a double, must range from -90.0 to +90.0. The `longitude` field, also a double, must be within the range of -180.0 to +180.0. These fields are essential for defining a specific geographic point.\n"]]