Routes API
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
route.googleapis.com API를 사용합니다.
서비스: routes.googleapis.com
RPC 클라이언트 스터브를 만들려면 서비스 이름 routes.googleapis.com
이 필요합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eroutes.googleapis.com\u003c/code\u003e service provides access to Google Maps Routes API for route planning and optimization.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two main RPC methods: \u003ccode\u003eComputeRouteMatrix\u003c/code\u003e and \u003ccode\u003eComputeRoutes\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeRouteMatrix\u003c/code\u003e calculates routes for all combinations of origins and destinations, returning route information in a stream.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeRoutes\u003c/code\u003e determines the best route and optional alternatives between specified waypoints.\u003c/p\u003e\n"]]],["The `routes.googleapis.com` service, used for creating RPC client stubs, features the `google.maps.routing.v2.Routes` service. This service includes two primary methods: `ComputeRouteMatrix`, which generates a stream of route information for multiple origin-destination pairs, and `ComputeRoutes`, which provides the primary and potentially alternate routes for a given set of waypoints. Both of them can be used to calculate routes.\n"],null,["# Routes API\n\nroutes.googleapis.com API.\n\nService: routes.googleapis.com\n------------------------------\n\nThe Service name `routes.googleapis.com` is needed to create RPC client stubs.\n\n[google.maps.routing.v2.Routes](/maps/documentation/routes/reference/rpc/google.maps.routing.v2#google.maps.routing.v2.Routes)\n------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [ComputeRouteMatrix](/maps/documentation/routes/reference/rpc/google.maps.routing.v2#google.maps.routing.v2.Routes.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/reference/rpc/google.maps.routing.v2#google.maps.routing.v2.Routes.ComputeRoutes) | Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |"]]