I found myself in the need of a proximity filter that took a user provided string and turned into coordinates to use for filtering.

I could not find anything among existing code that did what I needed so I rolled my own..

It's mostly based on the existing location proximity filter code, but due to my own inexperience with writing views plugins, (and a dependency on PHP > 5.2 due to use of json_decode) I decided to make it a separate module rather than a patch to location_views.

Sandbox project: http://drupal.org/sandbox/olegu/1323292
Code: http://drupalcode.org/sandbox/olegu/1323292.git

I probably won't bother to maintain this as a public standalone module as it ties too deeply into location code (depends on the earth.inc file being loaded) but I'd be happy to do some work to blend it with the exisiting location module codebase (for 6.x at least) if there is any interest in it.

-Vidar

Comments

podarok’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Needs review » Needs work

all feature requests should be rolled against latest 7.x-3.x-dev and after commit can be backported to 6.x branch
please, do provide a patch against dev version