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
| Input Field | Description |
|---|---|
coordinates - LocationSearchCoordinatesInput!
|
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
LocationFilterInputinput: Location search input is used to limit a search by objects near a point or within geometrical bounds on a two-dimensional sphere.
Example
Example
{
"coordinates": LocationSearchCoordinatesInput,
"minDistance": 123,
"maxDistance": 123
}