Route Matrix 클래스 개요
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
소개
RouteMatrix
클래스는 다양한 출발지와 목적지 간 경로의 행렬에 대한 거리와 이동 시간을 반환합니다. 여러 목적지 간의 이동 시간과 거리를 최대 625개의 경로 요소를 기반으로 계산하세요.
운전 경로가 필요하신가요? 경로 방향에 관심이 있다면 Route 클래스를 사용하세요.
이전하시나요? Distance Matrix Service (기존)에서 RouteMatrix
클래스로 마이그레이션하는 경우 Route Matrix 클래스로 마이그레이션을 참고하세요.
RouteMatrix
클래스를 사용해야 하는 이유
RouteMatrix
클래스를 사용하면 다음과 같은 배송 일정에 가장 효율적인 경로를 확인할 수 있습니다.
- 일련의 패키지를 수령할 작업자 집합을 가장 효과적으로 할당하는 방법
- 최종 목적지로 패키지를 배송할 최적의 창고를 결정합니다.
RouteMatrix
클래스로 무엇을 할 수 있나요?
RouteMatrix
클래스를 사용하면 여러 시작 위치와 종료 위치 간의 가능한 경로 매트릭스를 가져올 수 있습니다. 서버 측 요청당 여러 출발지와 목적지를 지정할 수 있으며, 출발지 수와 목적지 수의 곱은 최대 625입니다.
이러한 종류의 경로 데이터를 요청하여 여러 출발지와 목적지 간에 승객, 화물 또는 작업자를 가장 효율적으로 안내할 수 있습니다.
- 선택한 이동 모드의 거리(킬로미터 또는 마일)
- 교통 상황을 고려한 예상 이동 시간
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-27(UTC)
[null,null,["최종 업데이트: 2025-08-27(UTC)"],[],[],null,["**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nIntroduction\n\nThe `RouteMatrix` class returns distances and travel times for a matrix\nof routes between different origin and destination locations. Calculate travel times and\ndistances for multiple destinations for up to 625 route elements.\n\n**Need Driving Routes?** If you are interested in route directions, use the\n[Route class](/maps/documentation/javascript/routes/route-class-overview).\n\n**Migrating?** If you are migrating from the Distance Matrix Service (Legacy)\nto the `RouteMatrix` class, see\n[Migrate to the Route Matrix class](/maps/documentation/javascript/routes/route-matrix-js-migration).\n\nWhy use the `RouteMatrix` class?\n\nWith the `RouteMatrix` class, you can determine the most efficient routes for dispatch\nscheduling, such as:\n\n- How best to assign a set of workers to pick up a series of packages\n- Determine the best warehouse from which to ship packages to their final destination\n\nWhat can you do with the `RouteMatrix` class?\n\nWith the `RouteMatrix` class, you can get a matrix of possible\nroutes between many start and end locations. You can specify multiple origins and\ndestinations per server-side request with the number of origins times the number of\ndestinations up to 625.\n\nYou can request these kinds of route data to determine the most efficient way to route\npassengers, shipments, or workers between multiple origins and destinations:\n\n- Distance in kilometers or miles for a selected travel mode\n- Estimated travel time in traffic\n\nNext steps\n\n- [Get started](/maps/documentation/javascript/routes/start)\n- [Get a route matrix](/maps/documentation/routes/get-route-matrix)"]]