Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Proximity search? › Reply To: Proximity search?
June 21, 2016 at 1:25 pm
#9169
Hi,
I would suggest the Range slider for this purpuse. It uses the “BETWEEN” operator on database level – but it still does not exceeds the selected range, it is strict. So if the range is 1 – 10 and the user selects 2 and 5, then values between 2 and 5 are considered as match – there is no additional boundary.
I would probably make one range slider for the latitude, other for the longitude, but both latitude and longitude must be a separate custom field as a numeric value (no spaces, no other extra characters) – otherwise it will be recognized as a string by the MySql database.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



