# LocationInfo

- [JSON representation](https://developers.google.com/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#SCHEMA_REPRESENTATION)
- [PointSource](https://developers.google.com/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource)

A location with any additional identifiers.

| JSON representation |
|---|
| ``` { "point": { object (`https://developers.google.com/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LatLng`) }, "place": string, "pointLocationSource": enum (`https://developers.google.com/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/LocationInfo#PointSource`) } ``` |

| Fields ||
|---|---|
| `point` | ``object (`https://developers.google.com/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. |
| `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. |
| `pointLocationSource` | ``enum (`https://developers.google.com/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. |

## PointSource

Indicates the source of a `LatLng`.

| Enums ||
|---|---|
| `POINT_SOURCE_UNSPECIFIED` | Point source unspecified. |
| `POINT_SOURCE_DEVELOPER_PROVIDED` | The `LatLng` was explicitly provided by the developer. |
| `POINT_SOURCE_CALCULATED_FROM_PLACE` | The `LatLng` was calculated from the provided place. |