Location · GraphQL type

PhysicalAddressComponent type

Component of a physical address.

Example for: "Toledo, Spain" { "longName" : "Toledo", "shortName" : "Toledo", "types" : [ LOCALITY, POLITICAL ] } { "longName" : "Toledo", "shortName" : "TO", "types" : [ ADMINISTRATIVE_AREA_LEVEL_2, POLITICAL ] } { "longName" : "Castile-La Mancha", "shortName" : "CM", "types" : [ ADMINISTRATIVE_AREA_LEVEL_1, POLITICAL ] }

Fields

Field Name Description
longName - String The full text description or name of the address component as returned by the Geocoder.
shortName - String An abbreviated textual name for the address component, if available.
types - [PhysicalAddressComponentType!] The types of this address component.

Used by

Example

Example

{
  "longName": "xyz789",
  "shortName": "abc123",
  "types": ["STREET_ADDRESS"]
}