- Type:
string
- Default:
null
- Scope:
search
aroundLatLng
parameter defines a center for geo-based search.
Only records within a computed radius of this location are returned, ranked by proximity.
Format: "latitude, longitude"
(for example, "40.71, -74.01"
)
To learn more, see Geo location.
Usage
-
The radius of the search area is controlled by:
aroundRadius
: sets the maximum radiusminimumAroundRadius
: sets the minimum radius
-
The actual radius is computed dynamically based on record density:
- Denser areas = smaller radius
- Sparser areas = larger radius
-
Setting
getRankingInfo
totrue
adds the distance from the center to each result. -
This parameter is ignored if
insideBoundingBox
orinsidePolygon
is used. -
To use the user’s IP location as the center, see
aroundLatLngViaIP
.
Example
Current API clients
Current API clients
Legacy API clients
Legacy API clients