Local Search
Use location to filter your data
You can narrow your results or filter on geography components:
- Around a geographical point using its latitude and longitude :
lat
,lng
and at a maximal distance from it usingradius
. - Find assets nearby a polyline using an
encoded_polyline
and inside a definedradius
.
radius
(unit in meters) is mandatory to the request either for point filter, or polyline.
zone
(boolean) returns the stores that possess a zone intersecting the provided point.
These filters don’t belong to the query
parameter. They are additional parameters.
For example, to search for assets within a three-kilometre radius of a given point:
curl 'https://api.woosmap.com/stores/search/\
?private_key={private_key}&query='your_query'&lat=43.3&lng=3.883&radius=3000'
Was this article helpful?
Have more questions? Submit a request