Local Search
Use location to filter your dataYou can narrow your results or filter on geography components:
- Arround a geographical point using it’s 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.
This filters doesn’t belong to the query
parameter. They are others 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