- Type:
list<number> - Default:
null - Scope:
search
insideBoundingBox parameter defines rectangles in which to search.
Only records with coordinates (_geoloc attribute) within these rectangles are included in the search results.
Each rectangle is defined by the latitude and longitude of two diagonally opposite corners (p1Lat, p1Lng, p2Lat, p2Lng).
Usage
-
Use a list of 4 numbers for one rectangle.
For example:
[47.3165, 4.9665, 47.3424, 5.0201] -
Use multiple rectangles by:
-
Providing a longer flat list (must be multiples of 4: 8, 12, 16, … values).
For example:
47.3165,4.9665,47.3424,5.0201,40.9234,2.1185,38.6430,1.9916. -
Using a list of lists, each list with 4 values.
For example:
[[47.3165, 4.9665, 47.3424, 5.0201], [40.9234, 2.1185, 38.6430, 1.9916]]. - Records that are in either rectangle will be returned
-
Providing a longer flat list (must be multiples of 4: 8, 12, 16, … values).
For example:
-
aroundLatLngandaroundLatLngViaIPwill be ignored if used along with this parameter. -
Cannot be combined with
insidePolygon. If both are present, onlyinsideBoundingBoxis applied. - Be cautious when specifying rectangles that cross the 180th meridian.
Examples
Search inside one rectangle
Current API clients
Current API clients
Legacy API clients
Legacy API clients
Search inside multiple rectangles
Current API clients
Current API clients
Legacy API clients
Legacy API clients