- Type:
list<number> - Default:
null - Scope:
search
insidePolygon parameter restricts search results to records located within one or more geographic polygons.
Each polygon is defined by a series of latitude/longitude points (lat1, lng1, lat2, lng2, …),
with at least 3 points (6 values).
You can specify:
- A single polygon as a flat list of numbers
- Multiple polygons as a list of such lists
Usage
- Minimum of 3 coordinate pairs (6 values) per polygon
- Up to 10,000 coordinate pairs supported per request
- If both
insidePolygonandinsideBoundingBoxare specified, onlyinsideBoundingBoxis applied aroundLatLngandaroundLatLngViaIPwill be ignored if used withinsidePolygon.- To match all records within the polygon, send an empty query (
"") - Avoid polygons that cross the 180th meridian