TripWaypoint
차량 경로의 정차 지점 또는 차량 이동의 종료 지점을 설명합니다.
JSON 표현 |
{
"location": {
object (TerminalLocation )
},
"tripId": string,
"waypointType": enum (WaypointType ),
"pathToWaypoint": [
{
object (LatLng )
}
],
"encodedPathToWaypoint": string,
"trafficToWaypoint": {
object (ConsumableTrafficPolyline )
},
"distanceMeters": integer,
"eta": string,
"duration": string
} |
필드 |
location |
object (TerminalLocation )
이 웨이포인트의 위치입니다.
|
tripId |
string
이 웨이포인트와 연결된 경로입니다.
|
waypointType |
enum (WaypointType )
이 경로에서 이 중간 지점이 맡는 역할(예: 픽업 또는 하차)입니다.
|
pathToWaypoint[] |
object (LatLng )
이전 웨이포인트에서 현재 웨이포인트까지의 경로입니다. 목록의 첫 번째 웨이포인트에는 정의되지 않습니다. 이 필드는 요청된 경우에만 채워집니다.
|
encodedPathToWaypoint |
string
이전 웨이포인트에서 현재 웨이포인트까지 인코딩된 경로입니다. 참고: 이 필드는 Driver SDK 및 Consumer SDK에서만 사용할 수 있습니다. 디코딩은 아직 지원되지 않습니다.
|
trafficToWaypoint |
object (ConsumableTrafficPolyline )
이 웨이포인트까지의 경로에 따른 교통상황입니다. 트래픽은 Google Maps Platform 이동 및 배송 솔루션 고객만 사용할 수 있습니다.
|
distanceMeters |
integer
이전 웨이포인트에서 현재 웨이포인트까지의 경로 거리입니다. 목록의 첫 번째 웨이포인트에는 정의되지 않습니다.
|
eta |
string (Timestamp format)
이 중간 지점의 도착 예정 시간입니다. 목록의 첫 번째 웨이포인트에는 정의되지 않습니다. 생성된 출력은 항상 Z-정규화되고 소수점 이하 자릿수가 0, 3, 6 또는 9인 RFC 3339를 사용합니다. 'Z' 이외의 오프셋도 허용됩니다. 예를 들면 "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" 또는 "2014-10-02T15:01:23+05:30" 입니다.
|
duration |
string (Duration format)
이전 웨이포인트에서 이 지점까지의 이동 시간입니다. 목록의 첫 번째 웨이포인트에는 정의되지 않습니다. 소수점 아래가 최대 9자리까지이고 's '로 끝나는 초 단위 기간입니다. 예를 들면 "3.5s" 입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-26(UTC)
[null,null,["최종 업데이트: 2025-02-26(UTC)"],[[["Waypoints represent stopping points or ending points on a vehicle's route or trip."],["Each waypoint includes information like location, trip ID, type (pickup, dropoff), path, and estimated arrival time."],["Waypoints can optionally include details about the path to the waypoint, traffic conditions, and distance."],["The ETA and duration fields provide estimates for arrival time and travel time to the waypoint."]]],["This data represents a waypoint, a stopping or ending point in a vehicle's trip. Key information includes the `location`, the associated `tripId`, and the `waypointType` (e.g., pickup, dropoff). It also provides path details like `pathToWaypoint`, `encodedPathToWaypoint`, and `trafficToWaypoint`, alongside metrics such as `distanceMeters`, `eta` (estimated time of arrival), and `duration` (travel time). Some data, like path details and time-related metrics, are undefined for the initial waypoint.\n"]]