संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
दोपहिया वाहन का मतलब, मोटर से चलने वाले दोपहिया वाहनों से है. जैसे, मोटरसाइकल.
दोपहिया मोड, साइकल मोड से अलग होता है. साइकल मोड, मानव-शक्ति से चलने वाला मोड होता है.
मोड की जानकारी देने के लिए, अनुरोध की travelMode प्रॉपर्टी का इस्तेमाल करें. इस प्रॉपर्टी की संभावित वैल्यू, RouteTravelMode (REST) और RouteTravelMode (gRPC) में मौजूद एनिमरेशन से तय होती हैं.
दोपहिया वाहन से यात्रा करने का मोड तय करना
Routes API को कॉल करते समय, यात्रा के मोड की जानकारी देने के लिए RouteTravelMode
एन्यूमरेशन वैल्यू दी जाती है.
यहां दिए गए उदाहरण में, computeRoutes तरीके (REST) के अनुरोध बॉडी में, यात्रा के मोड को TWO_WHEELER पर सेट करने का तरीका बताया गया है. इस विकल्प को ComputeRoutes
विधि (gRPC) के लिए भी तय किया जा सकता है.
इस उदाहरण में, भारत में दो जगहों के बीच के रास्ते के निर्देशों का हिसाब लगाया गया है. इन जगहों के लिए, Plus कोड का इस्तेमाल किया गया है:
[[["समझने में आसान है","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-02-06 (UTC) को अपडेट किया गया."],[[["The `TWO_WHEELER` travel mode is used to request routes specifically for motorcycles and similar motorized two-wheeled vehicles, distinct from bicycles."],["Using the `TWO_WHEELER` travel mode will result in higher billing rates compared to other travel modes."],["Routes generated for two-wheeled vehicles are in beta and might not always include optimal paths for motorcycles; it's crucial to display a warning to users about this."],["You can specify the `TWO_WHEELER` travel mode within the `travelMode` property of your Routes API request to obtain routes optimized for motorcycles."],["Supported regions for two-wheeled vehicle routes may vary, so consult the documentation for coverage details."]]],[]]