Location · GraphQL type

LocationSearchWithinPolygon type

Supplied input for a LocationSearch of type WITHIN_POLYGON. Specifies the input for a geospatial query for objects bounded by a single closed linear ring polygon on a two-dimensional sphere.

Fields

Field Name Description
coordinates - [LocationSearchCoordinates!]! The closed line string coordinates specifying the polygon boundaries. The array must contain at least four coordinate pairs and the first and last coordinates must match in order to close the polygon.

Used by

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

Example

Example

{"coordinates": [LocationSearchCoordinates]}