Details of selected value in AutoComplete Query.
Fields
| Field Name | Description |
|---|---|
id - String!
|
Google Maps Places ID e.g. "ChIJt0FbvlFVwokRfJqdYXeXrIQ". See Google Maps Place IDs. |
formattedAddress - String
|
Formatted address e.g: 16 Lombardy St, Newark, NJ 07102. |
formattedPhoneNumber - String
|
Formatted phone number e.g.: (973) 123-4567. |
geometry - LocationGeometry
|
Contains the location and viewport for the location. |
name - String
|
Contains the human-readable name for the returned result. For establishment results, this is usually the canonicalized business name. |
Used by
PlaceDetailsPayloadtype: A response form the Places API details search containing a result that matches selected value.
Example
Example
{
"id": "xyz789",
"formattedAddress": "abc123",
"formattedPhoneNumber": "abc123",
"geometry": LocationGeometry,
"name": "xyz789"
}