Location
Information about the user location.
Type Definition
type Location {
zipcode: String
city: String
subdivisions: [String]
country: String
continent: String
accuracyRadius: Int
latitude: Float
longitude: Float
timeZone: String
}Fields
| Field | Type | Description |
|---|---|---|
| zipcode | String | Returns the zipcode for this location. |
| city | String | Returns the city for this location. |
| subdivisions | [String] | Returns the subdivisions for this location. |
| country | String | Returns the country for this location. |
| continent | String | Returns the continent for this location. |
| accuracyRadius | Int | Returns the accuracy radius in meters for this location. |
| latitude | Float | Returns the latitude for this location. |
| longitude | Float | Returns the longitude for this location. |
| timeZone | String | Returns the time zone for this location. |
Relationships
The Location type represents structured geolocation data that can be returned by queries or mutations. It contains coordinate information, administrative divisions, and timezone data that together provide comprehensive location context for a user.
Example
{
zipcode
city
subdivisions
country
continent
accuracyRadius
latitude
longitude
timeZone
}Implements
This type does not implement any interfaces.
Related Types
- String