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 范围内的任意值(含两个端点)。超出这些范围的值将被拒绝。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]