TripWaypoint
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे वाहन के रास्ते में पड़ने वाले स्टॉपिंग पॉइंट या वाहन की यात्रा के आखिरी पॉइंट के बारे में पता चलता है.
JSON के काेड में दिखाना |
{
"location": {
object (TerminalLocation )
},
"tripId": string,
"waypointType": enum (WaypointType ),
"pathToWaypoint": [
{
object (LatLng )
}
],
"encodedPathToWaypoint": string,
"trafficToWaypoint": {
object (ConsumableTrafficPolyline )
},
"distanceMeters": integer,
"eta": string,
"duration": string
} |
फ़ील्ड |
location |
object (TerminalLocation )
इस वेपॉइंट की जगह.
|
tripId |
string
इस वेपॉइंट से जुड़ी यात्रा.
|
waypointType |
enum (WaypointType )
इस यात्रा में यह वेपॉइंट क्या भूमिका निभाता है. जैसे, पिकअप या ड्रॉपऑफ़.
|
pathToWaypoint[] |
object (LatLng )
पिछले वेपॉइंट से मौजूदा वेपॉइंट तक का पाथ. अगर यह पहला वेपॉइंट है, तो पाथ, वाहन की मौजूदा जगह से वेपॉइंट तक का होता है. यह फ़ील्ड सिर्फ़ अनुरोध किए जाने पर दिखता है.
|
encodedPathToWaypoint |
string
पिछले वेपॉइंट से मौजूदा वेपॉइंट तक का एन्कोड किया गया पाथ. ध्यान दें: इस फ़ील्ड का इस्तेमाल सिर्फ़ Driver SDK और Consumer SDK के लिए किया जाता है. फ़िलहाल, डिकोडिंग की सुविधा उपलब्ध नहीं है.
|
trafficToWaypoint |
object (ConsumableTrafficPolyline )
इस वेपॉइंट तक पहुंचने के रास्ते पर ट्रैफ़िक की स्थिति. ध्यान दें कि ट्रैफ़िक की जानकारी सिर्फ़ Google Maps Platform Rides and Deliveries Solution के ग्राहकों के लिए उपलब्ध है.
|
distanceMeters |
integer
पिछले वेपॉइंट से मौजूदा वेपॉइंट तक की पाथ दूरी. अगर यह पहला वेपॉइंट है, तो रास्ते की दूरी, वाहन की मौजूदा जगह से वेपॉइंट तक की होती है.
|
eta |
string (Timestamp format)
इस वेपॉइंट पर पहुंचने का अनुमानित समय. यह RFC 3339 का इस्तेमाल करता है. इसमें जनरेट किया गया आउटपुट हमेशा Z-नॉर्मलाइज़्ड होता है और इसमें 0, 3, 6 या 9 फ़्रैक्शनल अंक इस्तेमाल किए जाते हैं. "Z" के अलावा, अन्य ऑफ़सेट भी स्वीकार किए जाते हैं. उदाहरण: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" या "2014-10-02T15:01:23+05:30" .
|
duration |
string (Duration format)
पिछले वेपॉइंट से इस वेपॉइंट तक पहुंचने में लगने वाला समय. अगर यह पहला वेपॉइंट है, तो यात्रा में लगने वाला समय, वाहन की मौजूदा जगह से वेपॉइंट तक का होता है. यह अवधि को सेकंड में दिखाता है. इसमें नौ दशमलव अंक तक हो सकते हैं और यह 's ' पर खत्म होता है. उदाहरण: "3.5s" .
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eWaypoints represent stopping points or ending points on a vehicle's route or trip.\u003c/p\u003e\n"],["\u003cp\u003eEach waypoint includes information like location, trip ID, type (pickup, dropoff), path, and estimated arrival time.\u003c/p\u003e\n"],["\u003cp\u003eWaypoints can optionally include details about the path to the waypoint, traffic conditions, and distance.\u003c/p\u003e\n"],["\u003cp\u003eThe ETA and duration fields provide estimates for arrival time and travel time to the waypoint.\u003c/p\u003e\n"]]],["This data represents a waypoint, a stopping or ending point in a vehicle's trip. Key information includes the `location`, the associated `tripId`, and the `waypointType` (e.g., pickup, dropoff). It also provides path details like `pathToWaypoint`, `encodedPathToWaypoint`, and `trafficToWaypoint`, alongside metrics such as `distanceMeters`, `eta` (estimated time of arrival), and `duration` (travel time). Some data, like path details and time-related metrics, are undefined for the initial waypoint.\n"],null,[]]