Routes Preferred API는 현재 일부 고객만 이용할 수 있습니다. 자세한 내용은
영업팀에 문의하세요.
오토바이 바퀴
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Routes Preferred API는 다음 네 가지 이동 수단을 지원합니다.
이륜차는 전동이륜차 (예: 오토바이)를 의미합니다.
오토바이 이동 모드는 인력으로 이동하는 자전거 이동 모드와 다릅니다.
오토바이 이동 모드 지정
Routes Preferred API를 호출할 때 RouteTravelMode
열거형 값을 사용하여 이동 모드를 지정합니다.
예
다음 예에서는 ComputeRoutes()
메서드 요청 본문에서 이동 모드를 설정하는 방법을 보여줍니다.
{
"origin":{
"location":{
"latLng":{
"latitude":37.419734,
"longitude":-122.0827784
}
}
},
"destination":{
"location":{
"latLng":{
"latitude":37.417670,
"longitude":-122.079595
}
}
},
"travelMode":"TWO_WHEELER"
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-09-25(UTC)
[null,null,["최종 업데이트: 2025-09-25(UTC)"],[],["The Routes Preferred APIs support four travel modes: Drive, Walk, Bicycle, and Two-wheeler, where Two-wheeler refers to motorized two-wheeled vehicles. To use a specific mode, utilize the `RouteTravelMode` enumeration in the API call. For example, to specify the two-wheeler mode in the `ComputeRoutes()` method request body, set the `\"travelMode\"` parameter to `\"TWO_WHEELER\"`. The two-wheeler mode is distinct from the bicycle mode, which is human-powered.\n"],null,[]]