I attempted to find a similar issue to this, but couldn't, so am posting for some help.
I have a bunch of geocoded nodes (stored with Geofield). I am trying to build a view that shows an HTML list of locations within 10 miles of the HTML5-retrieved location. My instinct would be to add a filter that is similar to the Geofield proximity filter for "Less than or equal to 5 miles of user location"; however, obviously that's not an option.
I'm not sure what the best method to accomplish this is. I saw that #1987042: Store Locator is a similar problem, but the resolution's not posted.
I also found #2194733: Distance from user location in views but I think that the user locations are already stored. Lastly, I found #1664250-4: Populate an exposed filter with the user's city but that's a year and a half old and I'm not sure it's exactly what I'm after.
An example of what I'm after is at http://deltazeta.org, at the bottom, labeled "There's a Chapter Near You". Any help would be appreciated!
(Edit: If #2011340: Geofield plugin to extend proximity filtering based on postal address with option to use HTML5 location is the answer, I will address my problems in that issue.)
Comments
Comment #1
mrpeanut commentedComment #2
rdeboerHi MrPeanut:
"My instinct would be to add a filter that is similar to the Geofield proximity filter for "Less than or equal to 5 miles of user location"; however, obviously that's not an option."
Why not? That's what is discussed in #2011340: Geofield plugin to extend proximity filtering based on postal address with option to use HTML5 location and seems like the way to go to me.
Rik
Comment #3
mrpeanut commented@RdeBoer — Sorry, I should have clarified... My instinct was to add a ip_geoloc provided filter (not that it matters what module provides it, just wanted to explain my thought process).
If #2011340: Geofield plugin to extend proximity filtering based on postal address with option to use HTML5 location is the answer, I will take my problem there. (Still learning how the mapping and location modules work together!) Thanks.
Comment #4
mrpeanut commented