Search by Distance

The Search by Distance Plugin allows users to search for listings within a specific radius by ZIP codes or any location known to Google because this field uses Google’s location autocomplete library. The Plugin is based on Google API, which ensures accuracy of the map search results.


How it works

Aside from the regular search, users may now narrow down search results based on the distance from a particular location. Although our real estate and all-in-one script scripts already include a Search on the Maps, distance search remains popular for car classifieds, boat classifieds and other classified types in countries, where a distance search is still relevant because many users are accustomed to it.


Front End

The Plugin creates a "Search by Distance" page, to which a map and a search box are added. The user may select a country in a box (if your site targets worldwide audience) and enter a zip/postal code. The Plugin searches for ads within a given distance from the coordinates of a specific zip code, and displays search results in the grid. The box also features a refine search form helping users tailor the search based on different fields/criteria, a set of which you can manage from back end.


Aside from the "Search by Distance" page, the Plugin creates a box with a quick search by zip codes, which you can add to the home page to give users immediate access to the search by distance. When users search for items using the box they’ll be taken to the "Search by Distance" page described above.


The Plugin is also integrated into all of the forms, where the zip/postal code field is present. It replaces the default search by zip code field with a combination of zip code and distance fields. After that, a user is able to filter the search results based on a given distance from a particular zip code. Added to that, the Plugin is also integrated into the search for sellers/agents. That is, you may run a search and see all the sellers operating within a specific location.


The Plugin shows the distance of a found listing from the center point of the given zip code coordinates.


We’ve also added an option, which allows you to extend the capabilities for the zip code field and allows users to enter not only zip codes but any locations known to Google because this field uses Google’s location autocomplete library. The Plugin may also automatically detect listings in the vicinity of a user’s location.


Back End

Once the Plugin is installed you’ll be able to further set it up from back end. Among the various Plugin settings, you can:

  • Set any distance range, for example increments from 5, 10, 30 both in miles and kilometers;
  • Set a default map location;
  • Set a default distance;
  • Choose distance units in miles or kilometers or auto detection;
  • Set the default search mode – by a distance radius, ZIP code or mixed mode;

The Distance Search Plugin greatly enhances users’ search experience and allows them to sift through a multitude of ads and land on a desired listing located conveniently close to a user’s location.

You have to log in to view installation instructions.

5.1.1
Jan 25, 2024
  • A PHP 8 issue fixed
  • A Javascript error fixed
  • A missing country selector issue in the block fixed
5.1.0
Apr 21, 2022
  • An icon for detection user location added to the map on the Plugin page
  • An error when doing a search on the Plugin page fixed
  • An issue when selecting a nearby location fixed
5.0.2
Sep 23, 2020
  • Field issue in the Search by Distance box in Flatty themes fixed
  • Missing country issue in the plugin box fixed
5.0.1
May 20, 2020
  • Conflict with the Multifield plugin in the search removed
5.0.0
Nov 29, 2019
  • Plugin reworked to work with the newly integrated maps
  • Pagination issue on the plugin page fixed
  • The bug that resulted in hiding the cluster when clicked fixed
  • The issue that caused markers being cut off in clusters on maps fixed
  • Search issue on the plugin page fixed
  • Bug in the 'Search by Distance' option in the iOS App fixed
  • Geo Autocomplete field issue in the search tabs on the plugin page fixed
  • Bug in category cascading fields in the search form fixed
  • Ability to disable Google Maps API for the plugin added
4.2.1
May 11, 2018
  • JS error when uploading listings fixed
  • Label distance bug on the Maps fixed
  • Duplicate ajax requests issue resolved
  • Excessive warnings issue in log files fixed
  • Error in setComponentRestrictions() fixed
  • Box styles moved to header
  • Issue when remembering locations fixed
4.2.0
Jan 19, 2018
  • Positioning zip codes reassigned to Google Geocoding
4.1.2
Nov 24, 2017
  • Banner bug on "Search results" page fixed
  • Duplicate ajax requests fixed
  • Minor style improvements
4.1.1
Nov 06, 2017
  • Banner bug in the grid fixed
4.1.0
Feb 20, 2017
  • Restriction by country added
  • Geolocation autocomplete improved
  • Mismatched language in listing grid fixed
  • Auto box cache reset added
4.0.4
Dec 07, 2016
  • Sorting by "Distance" field fixed
  • Minor improvements
4.0.3
Oct 27, 2016
  • Country mapping relation to ISO codes fixed
  • Responsiveness in the Plugin box boosted
  • Cache updating for saving plugin settings added
4.0.2
Oct 18, 2016
  • Fatal error in footer in ver. 4.5.0 and earlier fixed
4.0.1
Oct 13, 2016
  • Minor bug fixed
4.0.0
Oct 07, 2016
  • The plugin has been totally reworked
  • Countries for dropdown in the box now extracted from data entries
  • Search for zip codes or locations and zips added to the box
  • Filtering for locations by a selected country added
  • Refine search by listing type added to the search form on Search by Distance page
  • Marker icons on the Maps changed to circle markers with price indicators
  • Clusters added to the Maps to group markers
  • Listing grid is now generated based on a selected template
3.2.8
Jul 18, 2016
  • Google Maps usage optimized
3.2.7
Apr 20, 2016
  • MySQL error fixed for 4.4 versions
3.2.6
Apr 14, 2016
  • The plugin is adjusted to Flynax 4.5.0
3.2.5
Mar 24, 2016
  • Missed distance label fixed
3.2.4
Oct 01, 2015
  • JS error on the Home page fixed
3.2.3
Sep 02, 2015
  • Plugin related content box assigned to the proper pages after the installation
  • javascript error on the front-end fixed
3.2.2
Sep 01, 2015
  • Minor bug fixed
3.2.0
Jun 30, 2015
  • Minor bug fixed
3.1.10
Jun 01, 2015
  • The plugin is adjusted to Flynax 4.4.
3.1.9
Mar 26, 2015
  • A few minor bugs fixed
3.1.8
Jan 22, 2015
  • Distance calculation fixed
  • "Array" word issue in the refine search box solved
3.1.7
Aug 04, 2014
  • Javascript error related to a distance point on the map fixed
3.1.6
Jul 04, 2014
  • Visitor location defining improved.
  • PHP Headers issue solved
3.1.5
Mar 26, 2014
  • Minor changes in box style
3.1.4
Mar 13, 2014
  • Adjusted to the responsive templates
3.1.3
Aug 23, 2013
  • Pagination bug fixed
  • Data validation improved
3.1.2
Dec 25, 2012
  • ZIP codes database updated
  • Listings Grid view adapted for new General Templates
3.1.1
Nov 26, 2012
  • Distance label position on the map corrected
  • Countries order in dropdowns corrected
3.1.0
Oct 19, 2012
  • Pagination improved
  • Minor bugs fixed
3.0.2
Sep 11, 2012
  • Featured Listings status on search results corrected
3.0.1
Aug 23, 2012
  • Add/Edit Country bug fixed
3.0.0
Aug 16, 2012
  • country manager added
  • open ads in new tab option added
  • sql queries optimized
  • empty map issue fixed by showing world map
2.1.4
Feb 20, 2012
  • Bug in IE fixed
2.1.3
Feb 15, 2012
  • Countries selections corrected
  • Zip codes DB updated
2.1.2
Feb 12, 2012
  • Zip/Postal codes database updated
2.1.1
Feb 11, 2012
  • Flynax geoCoding services created
  • Plugin geoCoding request transferred to Flynax servers
2.1.0
Feb 10, 2012
  • ZIP/Postal code detection logic changed
  • A few minor bugs fixed
2.0.0
Feb 08, 2012
  • Plugin re-developed for Flynax 4
  • Now plugin works through Google Maps API
1.3.0
Mar 18, 2009
  • Calculation for average point between two the same zip codes
1.2.0
Feb 23, 2009
  • Listing type dropdown added on search by distance page
1.1.0
Feb 12, 2009
  • Bug fixes
1.0.0
Feb 01, 2009
  • Initial release
    No plugin reviews yet.