Skip to content

Commit

Permalink
Document that also bbox is used for result filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Nov 20, 2023
1 parent 83972e8 commit d2cd28d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/topics/Search.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ results = [
```
* If the provider does not fully handle the filter geometry internally (`handlesGeomFilter != true`), client-side filtering will be performed as follows:

- Polygon intersection test if the result has a `geometry` field with a `Polygon` geometry
- Point-in-polygon test using the results `x` and `y` point coordinates
1. Polygon intersection test if the result has a `geometry` field with a `Polygon` geometry
2. Polygon intersection test if the result has a `bbox` field
3. Point-in-polygon test using the results `x` and `y` point coordinates

* Geometry filters are only supported using the `SearchBox` search component with `allowSearchFilters: true` passed in the `TopBar` `searchOptions`.

Expand Down

0 comments on commit d2cd28d

Please sign in to comment.