Location · GraphQL type

PlacePrediction type

A prediction of a search value specifying a particular place.

Fields

Field Name Description
description - String! The location prediction e.g. "Austin Street, Forest Hills, NY, USA"
placeId - String! Google Maps Places ID e.g. "ChIJt0FbvlFVwokRfJqdYXeXrIQ". See Google Maps Place IDs.

Used by

  • PlaceAutocompletePayload type: A response form the Places API autocomplete search containing a list of predictions that match the search value.

Example

Example

{
  "description": "xyz789",
  "placeId": "xyz789"
}