Location · GraphQL type

LocationSearchNear type

Supplied input for a LocationSearch of type NEAR_SPHERE. Specifies the input for a geospatial query for objects that are near a point on a two-dimensional sphere.

Fields

Field Name Description
coordinates - LocationSearchCoordinates! Specifies a point for which a geospatial query returns the objects that are near on a two-dimensional sphere.
minDistance - Int The optional minDistance limits the results to those objects that are at least the specified distance in meters from the center point coordinates.
maxDistance - Int The optional maxDistance limits the results to those objects that are within a maximum distance in meters from the center point coordinates.

Used by

  • LocationFilter type: The LocationFilterInput that was used in a SearchJob.

Example

Example

{
  "coordinates": LocationSearchCoordinates,
  "minDistance": 987,
  "maxDistance": 987
}