Routes Preferred API
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
सेवा: routeप्राथमिकता.googleapis.com
RPC क्लाइंट स्टब बनाने के लिए routespreferred.googleapis.com
सेवा की ज़रूरत है.
तरीके |
ComputeCustomRoutes
|
टर्मिनल और इंटरमीडिएट वेपॉइंट के सेट और रूट मकसद दिए जाने पर, रूट मकसद के लिए सबसे अच्छे रूट का पता चलता है. |
ComputeRouteMatrix
|
ऑरिजिन और डेस्टिनेशन की सूची लेता है. साथ ही, ऐसी स्ट्रीम दिखाता है जिसमें ऑरिजिन और डेस्टिनेशन के हर कॉम्बिनेशन के लिए रास्ते की जानकारी होती है. |
ComputeRoutes
|
टर्मिनल और इंटरमीडिएट वेपॉइंट के सेट के आधार पर, वैकल्पिक वैकल्पिक रास्तों के साथ मुख्य रास्ते की जानकारी देता है. |
तरीके |
ComputeCustomRoutes
|
टर्मिनल और इंटरमीडिएट वेपॉइंट के सेट और रूट मकसद दिए जाने पर, रूट मकसद के लिए सबसे अच्छे रूट का पता चलता है. |
ComputeRouteMatrix
|
ऑरिजिन और डेस्टिनेशन की सूची लेता है. साथ ही, ऐसी स्ट्रीम दिखाता है जिसमें ऑरिजिन और डेस्टिनेशन के हर कॉम्बिनेशन के लिए रास्ते की जानकारी होती है. |
ComputeRoutes
|
टर्मिनल और इंटरमीडिएट वेपॉइंट के सेट के आधार पर, वैकल्पिक वैकल्पिक रास्तों के साथ मुख्य रास्ते की जानकारी देता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe service \u003ccode\u003eroutespreferred.googleapis.com\u003c/code\u003e enables the creation of RPC client stubs for route calculation.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two main services, \u003ccode\u003eRoutesPreferred\u003c/code\u003e and \u003ccode\u003eRoutesAlpha\u003c/code\u003e, which provide similar functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe service allows for calculating routes based on waypoints, computing route matrices for multiple origin-destination pairs, and customizing route objectives.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003eRoutesPreferred\u003c/code\u003e and \u003ccode\u003eRoutesAlpha\u003c/code\u003e have methods: \u003ccode\u003eComputeCustomRoutes\u003c/code\u003e, \u003ccode\u003eComputeRouteMatrix\u003c/code\u003e, and \u003ccode\u003eComputeRoutes\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Routes Preferred API\n\nService: routespreferred.googleapis.com\n---------------------------------------\n\nThe Service name `routespreferred.googleapis.com` is needed to create RPC client stubs.\n\n[google.maps.routes.v1.RoutesPreferred](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred)\n-------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [ComputeCustomRoutes](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeCustomRoutes) | Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |\n| [ComputeRouteMatrix](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeRouteMatrix) | Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |\n| [ComputeRoutes](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeRoutes) | Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |\n\n[google.maps.routes.v1alpha.RoutesAlpha](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha)\n--------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [ComputeCustomRoutes](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeCustomRoutes) | Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |\n| [ComputeRouteMatrix](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeRouteMatrix) | Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |\n| [ComputeRoutes](/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeRoutes) | Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |"]]