I am trying to: Create a custom listing directory and allow users to Show Results with [xx] mi of [their location, or entered address].
Link to a page where the issue can be seen: hidden link
I expected to see: A list of locations (which appears) and a functional search by address (not working).
Instead, I got:
On the initial page you see all the locations currently in the system. That's all fine, but if you choose say "5" mi and enter "14221" into the location box (which is the exact address zip code of one of the locations) Still all results are found (they are not within 5 mi of each other). As a side note, the Category boxes, seem to be working properly, its just the distance field.
I have setup as per the Map guide, omitting the map from the results as we don't care to have a map displayed. I have made sure the "Manual" refresh options are chosen along with matching the URL parameters, and I can also see the URL parameters being set in the URL, however it does not seem to be "reading" that info properly.
Any help would be greatly appreciated as I'm stuck right now without any idea where to turn with it.
Hi Shane, you should be able to enter "14221" manually instead of using the "Use my location" and it should show you the 1 result (maybe 2) regardless of your actual location. (Unless I am misunderstanding something). When you do that it is not working, which is what prompted my thread. I'm not really sure what else to look at. I have read over the pages about adding a map and adding custom search and neither have clued me on something I'm missing.
Let's take a step back. So I've entered the search bar at the top as a "map" field. So ideally, and the way I understood it should be able to work, is any location entered in there should be pulled from Google Maps and searched whether a landmark, an address, a state, a zip code, etc. So you could enter 14221 or "875 Hopkins Rd, Williamsville, NY 14221" and it should have nearly the same results I would think? Perhaps I am misunderstanding and that is not how the search works at all. Although, even when entering the exact address I just tested and still did not get the proper results.
I don't believe all of those locations are withing 10 mi of each other, but they certainly are not within 2 mi of each other. If you change the radius to 2 it does not change the results. If you change the location to 200mi it has the same results but there is supposed to be another listing that shows up. It does not.
It is certainly not working or at least not working properly unfortunately.
Actually the distance isn't calculated by road distance, rather by radius. Even though by road it might be more in mileage this just means that the location is still within that 10 mile radius.
What is the location that is suppose to show up as this is something that is powered by google maps and I would like to check this.
I think all of the addresses may be within 100 miles of each other. But if you drop down to 5 or 10, the addresses of
123 Hopkins Rd
Williamsville, NY 14221
and
17 Main Street
Hamburg, NY 14075
Should be two addresses on fairly opposite ends of the spectrum.
Here I did something different, I changed the Query Filter to "200 mi" so now you can again see the issue for certain. If you type in a radius of "5" and use address of "875 Hopkins Rd, Buffalo, NY, USA" all results still show even though all of those addresses are not within 5 mi of each other. I don't know if you guys have a physical office address but if you would be so kind as to give an address of something near you, I'll enter that as a location and my guess is that it will show up as well. Even if the search should only be showing "5mi" radius.
It's like the radius is not being read correctly from the URL even though they are matching.
Attached you will find my revised View with the query filter changed.
They are actually within 40 miles of each other. If you set the filter to do this then should see that it will show up. I just tested this exact case and it works.