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.

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
Jan 19, 2018
  • Positioning zip codes reassigned to Google Geocoding
Nov 24, 2017
  • Banner bug on "Search results" page fixed
  • Duplicate ajax requests fixed
  • Minor style improvements
Nov 06, 2017
  • Banner bug in the grid fixed
Feb 20, 2017
  • Restriction by country added
  • Geolocation autocomplete improved
  • Mismatched language in listing grid fixed
  • Auto box cache reset added
Dec 07, 2016
  • Sorting by "Distance" field fixed
  • Minor improvements
Oct 27, 2016
  • Country mapping relation to ISO codes fixed
  • Responsiveness in the Plugin box boosted
  • Cache updating for saving plugin settings added
Oct 18, 2016
  • Fatal error in footer in ver. 4.5.0 and earlier fixed
Oct 13, 2016
  • Minor bug fixed
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
Jul 18, 2016
  • Google Maps usage optimized
Apr 20, 2016
  • MySQL error fixed for 4.4 versions
Apr 14, 2016
  • The plugin is adjusted to Flynax 4.5.0
Mar 24, 2016
  • Missed distance label fixed
Oct 01, 2015
  • JS error on the Home page fixed
Sep 02, 2015
  • Plugin related content box assigned to the proper pages after the installation
  • javascript error on the front-end fixed
Sep 01, 2015
  • Minor bug fixed
Jun 30, 2015
  • Minor bug fixed
Jun 01, 2015
  • The plugin is adjusted to Flynax 4.4.
Mar 26, 2015
  • A few minor bugs fixed
Jan 22, 2015
  • Distance calculation fixed
  • "Array" word issue in the refine search box solved
Aug 04, 2014
  • Javascript error related to a distance point on the map fixed
Jul 04, 2014
  • Visitor location defining improved.
  • PHP Headers issue solved
Mar 26, 2014
  • Minor changes in box style
Mar 13, 2014
  • Adjusted to the responsive templates
Aug 23, 2013
  • Pagination bug fixed
  • Data validation improved
Dec 25, 2012
  • ZIP codes database updated
  • Listings Grid view adapted for new General Templates
Nov 26, 2012
  • Distance label position on the map corrected
  • Countries order in dropdowns corrected
Oct 19, 2012
  • Pagination improved
  • Minor bugs fixed
Sep 11, 2012
  • Featured Listings status on search results corrected
Aug 23, 2012
  • Add/Edit Country bug fixed
Aug 16, 2012
  • country manager added
  • open ads in new tab option added
  • sql queries optimized
  • empty map issue fixed by showing world map
Feb 20, 2012
  • Bug in IE fixed
Feb 15, 2012
  • Countries selections corrected
  • Zip codes DB updated
Feb 12, 2012
  • Zip/Postal codes database updated
Feb 11, 2012
  • Flynax geoCoding services created
  • Plugin geoCoding request transferred to Flynax servers
Feb 10, 2012
  • ZIP/Postal code detection logic changed
  • A few minor bugs fixed
Feb 08, 2012
  • Plugin re-developed for Flynax 4
  • Now plugin works through Google Maps API
Mar 18, 2009
  • Calculation for average point between two the same zip codes
Feb 23, 2009
  • Listing type dropdown added on search by distance page
Feb 12, 2009
  • Bug fixes
Feb 01, 2009
  • Initial release
    No plugin reviews yet.