Skip to content

Commit

Permalink
fix inside polygon and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Oct 9, 2023
1 parent 272c7e4 commit 4b15f9c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specs/common/schemas/SearchParams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,17 +280,19 @@ insideBoundingBox:
type: number
format: double
description: Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
example: [46.650828100116044,7.123046875,45.17210966999772,1.009765625]
example: [[47.3165, 4.9665, 47.3424, 5.0201], [40.9234, 2.1185, 38.6430, 1.9916]]
x-categories:
- Geo-Search

insidePolygon:
type: array
items:
type: number
format: double
type: array
items:
type: number
format: double
description: Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
example: [46.650828100116044,7.123046875,45.17210966999772,1.009765625,49.62625916704081,4.6181640625]
example: [[47.3165, 4.9665, 47.3424, 5.0201, 47.32, 4.9], [40.9234, 2.1185, 38.6430, 1.9916, 39.2587, 2.0104]]
x-categories:
- Geo-Search

Expand Down

0 comments on commit 4b15f9c

Please sign in to comment.