Geocoding API v4 方法的默认配额为每秒 25 次查询次数 (QPS)。如需了解如何申请更高的配额,请参阅
查看和管理配额,然后选择
Geocoding API作为服务。
GeocodeAddressRequest.LocationBias
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
要搜索的区域。此位置用作偏差,这意味着系统会优先显示给定位置附近的结果。
| JSON 表示法 |
{
// Union field type can be only one of the following:
"rectangle": {
object (Viewport)
}
// End of list of possible types for union field type.
} |
| 字段 |
联合字段 type。位置偏差的类型。type 只能是下列其中一项: |
rectangle |
object (Viewport)
由东北角和西南角定义的矩形框。rectangle.high() 必须是矩形视口的东北点。rectangle.low() 必须是矩形视口的西南点。rectangle.low().latitude() 不得大于 rectangle.high().latitude()。这会导致纬度范围为空。矩形视口的宽度不能超过 180 度。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-03-03。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-03-03。"],[],[]]