LocationInfo
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
JSON 표현 |
{
"point": {
object (LatLng )
},
"place": string,
"pointLocationSource": enum (PointSource )
} |
필드 |
point |
object (LatLng )
위치의 좌표입니다. point 또는 place 를 입력으로 지정해야 합니다. 둘 다 지정된 경우 point 는 라우팅에 사용되고 place 는 메타데이터에 사용됩니다. place 만 입력으로 지정된 경우 point 이 place 에서 계산되어 출력에 포함됩니다.
|
place |
string
이 위치를 나타내는 장소의 리소스 이름입니다. 형식은 places/{place_id} 입니다. point 또는 place 를 입력으로 지정해야 합니다. 둘 다 지정된 경우 point 는 라우팅에 사용되고 place 는 메타데이터에 사용됩니다. place 는 입력에 포함된 경우에만 출력에 포함됩니다. 즉, LatLng 에서 place 조회가 실행되지 않았습니다. 실험용으로 제공되는 기능입니다.
|
pointLocationSource |
enum (PointSource )
출력 전용입니다. latlng point 필드의 소스입니다. 이 기능은 실험용 기능의 일부입니다.
|
PointSource
열거형 |
POINT_SOURCE_UNSPECIFIED |
지점 소스가 지정되지 않았습니다. |
POINT_SOURCE_DEVELOPER_PROVIDED |
LatLng 는 개발자가 명시적으로 제공했습니다. |
POINT_SOURCE_CALCULATED_FROM_PLACE |
LatLng 는 제공된 장소에서 계산되었습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[[["\u003cp\u003eLocation is represented in JSON format using a \u003ccode\u003epoint\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epoint\u003c/code\u003e object contains latitude and longitude coordinates within a \u003ccode\u003eLatLng\u003c/code\u003e object, providing geographical location data.\u003c/p\u003e\n"]]],[],null,["# LocationInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PointSource](#PointSource)\n\nA location with any additional identifiers.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"point\": { object (/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LatLng) }, \"place\": string, \"pointLocationSource\": enum (/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource) } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `point` | `object (`[LatLng](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LatLng)`)` The location's coordinates. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. If only `place` is specified as input, `point` will be calculated from the `place` and included in the output. |\n| `place` | `string` The resource name of the place that represents this location. The format is `places/{place_id}`. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. `place` is only included in the output if it was included in the input, meaning that there is no `place` lookup from `LatLng` performed. This is an experimental feature. |\n| `pointLocationSource` | `enum (`[PointSource](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource)`)` Output only. The source of the latlng `point` field. This is part of an experimental feature. |\n\nPointSource\n-----------\n\nIndicates the source of a `LatLng`.\n\n| Enums ||\n|--------------------------------------|--------------------------------------------------------|\n| `POINT_SOURCE_UNSPECIFIED` | Point source unspecified. |\n| `POINT_SOURCE_DEVELOPER_PROVIDED` | The `LatLng` was explicitly provided by the developer. |\n| `POINT_SOURCE_CALCULATED_FROM_PLACE` | The `LatLng` was calculated from the provided place. |"]]