Filter Search Results from the GeoDirectory REST API


1) Using Latitude & Longitude
– latitude=xxx.xxxxxx&longitude=xxx.xxxxxx
– Example:


2) Using IP Address

– Example:


3) Using Near Me (auto-detects IP of the user and find nearest posts)
– near=me
– Example:


4) Using Address
– near=xxxxxx
– Example:


5) Search by distance 

To filter API results with use of latitude & longitude.

Requires the Location Manager and Advanced Search Filters addons both to be installed and active and then proceed to configure 'Search by Distance' for each CPT in: Places (CPT) > Settings > Search > Search by Distance

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us