응답의 경로 출발지에서 장소까지의 시간 및 거리와 요청된 경우 해당 장소에서 목적지까지의 두 번째 구간입니다. 참고: 요청에 routingParameters.origin 매개변수 또는 searchAlongRouteParameters.polyline.encodedPolyline 매개변수를 포함하지 않고 필드 마스크에 routingSummaries를 추가하면 오류가 발생합니다.
설정된 출발지에서 이동 시간과 거리를 계산할 때 legs에는 출발지에서 목적지까지의 시간과 거리가 포함된 단일 구간이 포함됩니다. 경로를 따라 검색하면 legs에는 출발지에서 장소까지의 구간과 장소에서 목적지까지의 구간이 각각 하나씩 포함됩니다.
directionsUri
string
지정된 경로 요약의 중간 지점을 사용하여 Google 지도에 경로를 표시하는 링크입니다. 이 링크에서 생성된 경로는 라우팅 요약을 생성하는 데 사용된 경로와 동일하지 않을 수 있습니다. 링크는 요청에 제공된 정보(해당하는 경우 routingParameters 및 searchAlongRouteParameters 필드 포함)를 사용하여 경로 링크를 생성합니다.
[[["이해하기 쉬움","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-27(UTC)"],[[["Routing Summary provides the duration and distance between an origin and a destination, or between an origin, a place, and a destination when searching along a route."],["It includes a directions URI for viewing the route on Google Maps."],["A Leg within the Routing Summary represents a portion of the journey, containing duration and distance in meters."],["When searching along a route, the `legs` field will contain two legs: one from the origin to the place and another from the place to the destination."]]],["The content details routing summary data, including journey legs and a directions link. A routing summary contains \"legs,\" with each leg representing a portion of a journey. Each `leg` provides `duration` (time to complete the leg) and `distanceMeters`. The `directionsUri` field provides a Google Maps link for directions. When searching along a route, the summary includes two legs, otherwise it only includes one. Including `routingSummaries` in a request requires including an `origin` or `encodedPolyline` parameter.\n"]]