GeocodeAddressRequest.LocationBias

要搜索的区域。此位置用作偏向,这意味着系统会优先显示给定位置周围的结果。

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "rectangle": {
    object (Viewport)
  }
  // End of mutually exclusive fields.
}
字段
位置偏向类型。以下是互斥字段列表。在响应中,最多只能设置其中一个字段:
rectangle

object (Viewport)

由东北角和西南角定义的矩形框。rectangle.high() 必须是矩形视口的东北点。rectangle.low() 必须是矩形视口的西南点。rectangle.low().latitude()不能大于 rectangle.high().latitude()。这会导致纬度范围为空。矩形视口的宽度不能超过 180 度。

互斥字段结束。