경로(예: 픽업 또는 하차)에 정류장을 설정하려면 경유지를 경유지 경유지로 지정합니다. 이렇게 하려면 경유지의 vehicleStopover 속성인 Waypoint (REST) 또는 Waypoint (gRPC)를 사용합니다.
이 설정을 사용하면 고속도로나 터널과 같이 승차 및 하차에 적합하지 않은 도로에서 계산된 경로가 시작되거나 끝나지 않습니다.
지상 도로가 터널 내 도로를 교차하는 상황을 예로 들어보겠습니다.
두 도로가 교차하는 지점에 있는 경유지를 지정하면 (지도 참고) 결과 경로는 일반 도로 또는 터널에서 시작하거나 끝납니다. 이로 인해 터널에서 승하차할 수 없어 문제가 발생합니다.
픽업 또는 하차에 중간 지점을 사용하려면 vehicleStopover 필드를 true로 설정하여 결과 경로가 픽업 및 하차가 가능한 도로에서 시작하거나 끝나도록 합니다.
[[["이해하기 쉬움","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-06-20(UTC)"],[[["\u003cp\u003eUse the \u003ccode\u003evehicleStopover\u003c/code\u003e property to designate a waypoint as a stopover for pickups or drop-offs, ensuring the route avoids unsuitable roads like highways or tunnels.\u003c/p\u003e\n"],["\u003cp\u003eRequests utilizing the \u003ccode\u003evehicleStopover\u003c/code\u003e property incur higher billing rates compared to standard route requests.\u003c/p\u003e\n"],["\u003cp\u003eSetting \u003ccode\u003evehicleStopover\u003c/code\u003e to \u003ccode\u003etrue\u003c/code\u003e guarantees the route starts or ends on a road suitable for pickups and drop-offs, avoiding issues with waypoints located near tunnels or highways.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evehicleStopover\u003c/code\u003e property is crucial for optimizing routes for vehicles that require specific pickup and drop-off locations.\u003c/p\u003e\n"]]],["To designate a waypoint for pickup or drop-off, set the `vehicleStopover` property to `true` within the Waypoint object. This ensures the route begins or ends on a suitable road, avoiding locations like highways or tunnels. Setting `vehicleStopover` prevents routes from starting/ending on unsuitable roads. The `vehicleStopover` property is set within the Waypoint's JSON structure. Using `vehicleStopover` incurs a higher billing rate.\n"],null,["# Set a stop along a route\n\n**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\nTo set a stop along a route, for example, for a pickup or dropoff, you designate\na waypoint as a stopover waypoint. To do this, use the `vehicleStopover`\nproperty of a waypoint,\n[Waypoint](/maps/documentation/routes/reference/rest/v2/Waypoint) (REST) or\n[Waypoint](/maps/documentation/routes/reference/rpc/google.maps.routing.v2#waypoint) (gRPC).\nThis setting ensures that the calculated route doesn't begin or end on a road\nthat is unsuitable for pickup and drop-off, such as a highway or tunnel.\n| **Caution:** Requests using `vehicleStopover` are billed at a higher rate. [Learn more about billing](/maps/documentation/routes/usage-and-billing) for Routes API.\n\nConsider the situation where a surface road crosses over a road inside a tunnel.\nIf you were to specify a waypoint located where the two roads intersect (as seen\non a map), then the resulting route would begin or end on either the surface\nroad or the tunnel. This result presents a problem because you can't stop in\ntunnels to make pickups or drop-offs.\n\nIf you want to use the waypoint for a pickup or drop-off, then you set the\n`vehicleStopover` field to `true` to ensure that the resulting route begins or\nends on a road that allows pickups and drop-offs.\n\nThe following example demonstrates how to set the\n[`vehicleStopover`](/maps/documentation/routes/reference/rest/v2/TopLevel/computeRoutes#Waypoint.FIELDS.vehicle_stopover)\nproperty: \n\n```text\n{\n \"origin\":{\n \"location\":{\n \"latLng\":{\n \"latitude\": 37.419734,\n \"longitude\": -122.0827784\n }\n },\n \"vehicleStopover\": true\n },\n ...\n}\n```"]]