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 מעלות.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]