PlusCode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Plus Code(http://plus.codes)是一种位置参考,有两种格式:全局代码(定义 14 米 x 14 米 [1/8,000 度] 或更小的矩形)和复合代码(将前缀替换为参考位置)。
JSON 表示法 |
{
"globalCode": string,
"compoundCode": string
} |
字段 |
globalCode |
string
地点的全局(完整)代码,例如“9FWM33GV+HQ”,表示 1/8, 000 度 x 1/8,000 度(约 14 米 x 14 米)的区域。
|
compoundCode |
string
地点的混合代码,例如“33GV+HQ, Ramberg, Norway”,其中包含全局代码的后缀,并将前缀替换为参考实体的格式化名称。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],[],null,["# PlusCode\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nPlus code (\u003chttp://plus.codes\u003e) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.\n\n| JSON representation |\n|----------------------------------------------------------|\n| ``` { \"globalCode\": string, \"compoundCode\": string } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `globalCode` | `string` Place's global (full) code, such as \"9FWM33GV+HQ\", representing an 1/8000 by 1/8000 degree area (\\~14 by 14 meters). |\n| `compoundCode` | `string` Place's compound code, such as \"33GV+HQ, Ramberg, Norway\", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity. |"]]