LatLongPoint
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"kind": string,
"latitude": number,
"longitude": number
} |
欄位 |
kind (deprecated) |
string
標示資源的種類。值:固定字串 "walletobjects#latLongPoint" 。
|
latitude |
number
指定介於 -90.0 到 +90.0 (含) 之間的緯度。這個範圍以外的值都會遭拒。
|
longitude |
number
指定介於 -180.0 到 +180.0 (含) 之間的經度。這個範圍以外的值都會遭拒。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eJSON representation defines a location using latitude and longitude coordinates.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field, identifying the resource type as \u003ccode\u003e"walletobjects#latLongPoint"\u003c/code\u003e, is deprecated and should not be used.\u003c/p\u003e\n"],["\u003cp\u003eLatitude values must be within the range of -90.0 to +90.0, while longitude values must be within the range of -180.0 to +180.0.\u003c/p\u003e\n"]]],["The JSON object represents a geographical point with `latitude` and `longitude` coordinates. Latitude must be a number between -90.0 and 90.0, while longitude must be between -180.0 and 180.0. A deprecated `kind` field, fixed to \"walletobjects#latLongPoint\", is included but should not be used. These fields define the location and ensure it falls within valid geographic boundaries.\n"],null,["# LatLongPoint\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|---------------------------------------------------------------------|\n| ``` { \"kind\": string, \"latitude\": number, \"longitude\": number } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#latLongPoint\"`. |\n| `latitude` | `number` The latitude specified as any value in the range of -90.0 through +90.0, both inclusive. Values outside these bounds will be rejected. |\n| `longitude` | `number` The longitude specified in the range -180.0 through +180.0, both inclusive. Values outside these bounds will be rejected. |"]]