nearestLocations
QUERY

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
geoLocation* 
GeoLocationInput!
The geolocation coordinates input used for the location suggestions.
schemeId* 
String!
The scheme ID of the location dataset to query.Currently, only seekAnz and seekAnzPublicTest are supported.
first 
Int
A non-negative limit to the number of locations to return.Defaults to 10.

Result

Name
Description
A physical location with a persistent identifier.

Sample

GraphQL
query ($geoLocation: GeoLocationInput!, $schemeId: String!) {
  nearestLocations(geoLocation: $geoLocation, schemeId: $schemeId) {
    id {
      value
    }
  }
}