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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[],[],null,["# GeocodeAddressRequest.LocationBias\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe region to search. This location serves as a bias which means results around given location might be returned.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `type` can be only one of the following: \"rectangle\": { object (/maps/documentation/geocoding/reference/rest/v4beta/Viewport) } // End of list of possible types for union field `type`. } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `type`. Types of location bias. `type` can be only one of the following: ||\n| `rectangle` | `object (`[Viewport](/maps/documentation/geocoding/reference/rest/v4beta/Viewport)`)` A rectangle box defined by northeast and southwest corner. `rectangle.high()` must be the northeast point of the rectangle viewport. `rectangle.low()` must be the southwest point of the rectangle viewport. `rectangle.low().latitude()` cannot be greater than `rectangle.high().latitude()`. This will result in an empty latitude range. A rectangle viewport cannot be wider than 180 degrees. |"]]