This patch applies to new views filters
Filter by typed address
Filter by proximity to user
However you should ensure http://drupal.org/node/208265 is applied to fix related locations views module bugs
Both of these filters bypass the country/postcode mechanism and use google's gmap XML API to resolve the information
* Filter by typed address cannot be preset with information and is probably only useful as an exported filter because views does not support complex value storing of filter parts (it implodes the fields with no key relationship)
| Comment | File | Size | Author |
|---|---|---|---|
| location_views-proximity.module.patch | 7.17 KB | dgtlmoon |
Comments
Comment #1
mikepetersonwi commenteddgtlmoon,
I'm a bit confused as to whether or not this is working like a expected it to. I applied the patches as told to the location_views.module found in my "/location/contrib/location_views/" folder and the file appears to have patched correctly. When editing my View (Gmap view type) I still only see the "Location Proximity" and "Location Proximity Map" as available Filters. The filter I was using (Location Proximity) still only filters on Postal Code. I was expecting to find addition choices such as "Location Proximity Address" or something of the sort.
Mikep
Comment #2
mikepetersonwi commenteddgtlmoon,
After reading your description maybe I'm expecting something that wasn't intended. I was looking for a proximity to typed address, that is a little different than what is described. If that is the case, is it a big leap to add that functionality?
Mikep
Comment #3
mikepetersonwi commentedChanging back Issue Title - Sorry
Mikep
Comment #4
yesct commentedI think there are two issues in here.
One: views filter argument
Two: views filter by location of user viewing the view?
I think they might be more recent work on those issues. I'll see if I can find the issue numbers.
Comment #5
yesct commentedTagging.
Comment #6
yesct commentedMarked as a duplicate to
#357295: Proximity Search based on lat/lon, using views arguments
Comment #7
yesct commentedpartially marked #242043: Filter content by user's location as a duplicate of this issue.
Comment #8
yesct commentedmarked #423270: User's location can't be found in View's filter as a duplicate of this issue.
Comment #9
MohammadMoussa-Lebanon commentedhello every body ,im trying to make a website for sales, but im facing a problem which is , i have 3 categories apartments (for sale , for rent , to buy ) ,lands (for sale , for rent , to buy ) , buildings (for sale , for rent , to buy ) ,
all i want to do is to place 2 select boxes and let the user select in the first box if he want apartment wo land or building and in the second box for sale or for rent or to buy and click a button which create a query and show all in the same page, i mean all results must be in the same page,please help me im a new drupal user ,its a hard problem:S:S:
thanks alot
Comment #10
avpaderno