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 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eLocation\u003c/code\u003e objects represent a geographic point with latitude and longitude coordinates, optionally including a compass heading.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eheading\u003c/code\u003e field, applicable to \u003ccode\u003eDRIVE\u003c/code\u003e and \u003ccode\u003eTWO_WHEELER\u003c/code\u003e travel modes, indicates traffic flow direction for pickup/drop-off, ranging from 0 (North) to 360 degrees.\u003c/p\u003e\n"]]],["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"],null,["# Location\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nEncapsulates a location (a geographic point, and an optional heading).\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ``` { \"latLng\": { object (/maps/documentation/routes/reference/rest/v2/LatLng) }, \"heading\": integer } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `latLng` | `object (`[LatLng](/maps/documentation/routes/reference/rest/v2/LatLng)`)` The waypoint's geographic coordinates. |\n| `heading` | `integer` The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, and so on. You can use this field only for `DRIVE` and `TWO_WHEELER` [`RouteTravelMode`](/maps/documentation/routes/reference/rest/v2/RouteTravelMode). |"]]