Download & Extend

Views filters - Filter by typed address and Filter by proximity to user

Project:Location
Version:5.x-2.7
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)
Issue tags:location proximity to user viewing node, Location proximity view, location view arguments

Issue Summary

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)

AttachmentSize
location_views-proximity.module.patch7.17 KB

Comments

#1

dgtlmoon,

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

#2

Title:Views filters - Filter by typed address and Filter by proximity to user» One more thing...Views filters - Filter by typed address and Filter by proximity to user

dgtlmoon,

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

#3

Title:One more thing...Views filters - Filter by typed address and Filter by proximity to user» Views filters - Filter by typed address and Filter by proximity to user

Changing back Issue Title - Sorry

Mikep

#4

Status:needs review» postponed (maintainer needs more info)

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

#5

Tagging.

#6

Status:postponed (maintainer needs more info)» closed (duplicate)

Marked as a duplicate to
#357295: Proximity Search based on lat/lon, using views arguments

#7

partially marked #242043: Filter content by user's location as a duplicate of this issue.

#8

marked #423270: User's location can't be found in View's filter as a duplicate of this issue.

nobody click here