An array of locations relevant to the provided geolocation ordered by distance.A maximum of 10 locations can be recommended.This query accepts browser tokens that include the
query:ontologies scope.Arguments
| Name | Description |
|---|---|
GeoLocationInput! | The geolocation coordinates input used for the location suggestions. |
String! | The scheme ID of the location dataset to query.Currently, only seekAnz and seekAnzPublicTest are supported. |
Int | A non-negative limit to the number of locations to return.Defaults to 10. |
Result
| Name | Description |
|---|---|
[Location!] | A physical location with a persistent identifier. |
Sample
GraphQL
CopyGraphQL Explorer
query ($geoLocation: GeoLocationInput!, $schemeId: String!) {
nearestLocations(geoLocation: $geoLocation, schemeId: $schemeId) {
id {
value
}
}
}