Location · GraphQL input

LocationSearchNearPhysicalAddressInput input

Input for a LocationSearch of type NEAR_PHYSICAL_ADDRESS. Specifies the input for a geospatial query for objects that are near a point on a two-dimensional sphere. The point is resolved using the formatted input address or PlusCodeGlobalCode.

Fields

Input Field Description
physicalAddress - PhysicalAddressGeocodeSearchInput! The search criteria for geocoding a physical address to a coordinate point.
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

  • LocationFilterInput input: 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

{
  "physicalAddress": PhysicalAddressGeocodeSearchInput,
  "minDistance": 987,
  "maxDistance": 123
}