GeocodeResult.Granularity
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
GRANULARITY_UNSPECIFIED |
请勿使用。 |
ROOFTOP |
与匹配的地址对应的实际地块的非插值位置。 |
RANGE_INTERPOLATED |
从一系列街道编号中插值得出。例如,如果我们知道 Amphitheatre Pkwy 的某个路段包含 1600 到 1699 号,那么 1650 号可能位于该路段的中间位置。 |
GEOMETRIC_CENTER |
我们拥有多边形数据的地图项的几何中心。 |
APPROXIMATE |
其他所有内容。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],[],null,["# GeocodeResult.Granularity\n\nThe granularity of the location.\n\n| Enums ||\n|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `GRANULARITY_UNSPECIFIED` | Do not use. |\n| `ROOFTOP` | The non-interpolated location of an actual plot of land corresponding to the matched address. |\n| `RANGE_INTERPOLATED` | Interpolated from a range of street numbers. For example, if we know that a segment of Amphitheatre Pkwy contains numbers 1600 - 1699, then 1650 might be placed halfway between its endpoints. |\n| `GEOMETRIC_CENTER` | The geometric center of a feature for which we have polygonal data. |\n| `APPROXIMATE` | Everything else. |"]]