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 و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-27 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-27 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`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"]]