LocationInfo

A location with any additional identifiers.

JSON representation
{
  "point": {
    object (LatLng)
  },
  "place": string,
  "pointLocationSource": enum (PointSource)
}
Fields
point

object (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 (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.