對話動作已於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
Package google.type
LatLng
表示經緯度組合的物件。這個物件會同時指出經度和緯度的度數;除非另有說明,否則必須符合 WGS84 標準。此外,值必須在正常範圍內。
欄位 |
latitude |
double
緯度度數,必須介於 [-90.0, +90.0] 的範圍中。
|
longitude |
double
經度度數,必須介於 [-180.0, +180.0] 的範圍中。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["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"]]