Location
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כולל מיקום (נקודה גיאוגרפית וכותרת אופציונלית).
ייצוג JSON |
{
"latLng": {
object (LatLng )
},
"heading": integer
} |
שדות |
latLng |
object (LatLng )
הקואורדינטות הגיאוגרפיות של ציון הדרך.
|
heading |
integer
כותרת המצפן המשויכת לכיוון זרימת התנועה. הערך הזה מציין את צד הדרך לאיסוף ולהורדה. ערכי כותרות יכולים להיות בין 0 ל-360, כאשר 0 מציין כותרת לצפון, 90 מציין כותרת לצפון, וכן הלאה. ניתן להשתמש בשדה הזה רק עבור DRIVE ו-TWO_WHEELER RouteTravelMode .
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[[["`Location` objects represent a geographic point with latitude and longitude coordinates, optionally including a compass heading."],["The `heading` field, applicable to `DRIVE` and `TWO_WHEELER` travel modes, indicates traffic flow direction for pickup/drop-off, ranging from 0 (North) to 360 degrees."]]],["The provided JSON structure defines a location using latitude and longitude coordinates (`latLng`). It also includes an optional `heading` field, an integer from 0 to 360, representing the compass direction of traffic flow. The `heading` is applicable only for `DRIVE` and `TWO_WHEELER` travel modes and is intended for specifying the road side for pickup or drop-off actions. The `latLng` field itself is a geographic point.\n"]]