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.

CommentFileSizeAuthor
#1 location_15.patch9.9 KBvangorra
location_14.patch7.27 KBvangorra

Comments

vangorra’s picture

StatusFileSize
new9.9 KB

Sorry, here is an updated patch that includes the modifications to location_views

geodaniel’s picture

I 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...)

wolfderby’s picture

Version: 5.x-2.7 » 5.x-1.x-dev

Subscribing, also maybe this should be 5.x-1.x-dev? Sorry if I'm wrong.

sethcohn’s picture

bump, +1 for the idea.

bdragon’s picture

Status: Needs review » Closed (duplicate)