It would be nice if we could perform a proximity search similar to how it is done on google maps.
Use case:
Susie wants to search for an event on her favorite drupal site. She is going to be in LA in two weeks and would like to get together with her fellow drupalites. So Susie going to search/location and enters "Los Angeles" with a range of 10 miles. A list of events is returned in that area.
The attached patch provides the location module with this optional functionality (enabled in the admin page). It also contains a filter for location_views.
Tell me what you guys think.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | location_15.patch | 9.9 KB | vangorra |
| location_14.patch | 7.27 KB | vangorra |
Comments
Comment #1
vangorra commentedSorry, here is an updated patch that includes the modifications to location_views
Comment #2
geodaniel commentedI really like the idea of this to simplify the search, but I'm not a big fan of it using the built-in zipcodes table to do its work. It'd be great if this could tie in with the GeoNames integration work that's been happening, as it should help to make this a lot more flexible and work on a more global scale. I think Ankur (module maintainer) has also been doing some work in the area of search recently, so may be worth getting in touch with him.
(hopefully soon I'll get a chance to get back to doing more location-related stuff...)
Comment #3
wolfderby commentedSubscribing, also maybe this should be 5.x-1.x-dev? Sorry if I'm wrong.
Comment #4
sethcohn commentedbump, +1 for the idea.
Comment #5
bdragon commentedMarking as duplicate of #319278: [master][meta] Location_search rewrite.