willdurand/GeocodableBehavior — Issue #4: Add a `filterNear` method
Author: willdurand
Created: 2011-11-20 15:05:13+00:00
State: open

This method is designed to retrieve X model objects from a given argument (coordinates or street address).
The distance is configurable, as well as the measure unit and the number of results.

Use case:

``` php
filterNear($coordinates, $distance, $nbResults, $unit);

$address = 'Eiffel Tower, Paris, France';
$coll = $object->filterNear($address, $distance, $nbResults, $unit);
```

poke @themouette