Die Region, in der gesucht werden soll. Dieser Standort dient als Bias. Das bedeutet, dass Ergebnisse in der Nähe des angegebenen Standorts zurückgegeben werden können.
JSON-Darstellung
{// Union field type can be only one of the following:"rectangle": {object (Viewport)}// End of list of possible types for union field type.}
Felder
Union-Feld type. Arten von Standortverzerrungen. Für type ist nur einer der folgenden Werte zulässig:
Ein Rechteck, das durch die Nordost- und die Südwestecke definiert wird. rectangle.high() muss der nordöstliche Punkt des Rechteck-Viewports sein. rectangle.low() muss der südwestliche Punkt des Rechteck-Viewports sein. rectangle.low().latitude() darf nicht größer als rectangle.high().latitude() sein. Das führt zu einem leeren Breitenbereich. Ein rechteckiger Viewport darf nicht breiter als 180 Grad sein.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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. |"]]