public function geoDistance($field, $distance, $location, array $attributes = [])
    {
        $query = new GeoDistanceQuery($field, $distance, $location, $attributes);

        $this->append($query);

        return $this;
    }
public function geoDistance($field, $distance, $location, array $attributes = [])
    {
        $query = new GeoDistanceQuery($field, $distance, $location, $attributes);

        $this->append($query);

        return $this;
    }
public function geoDistance ( $ field , $ distance , $ location , array $ attributes = [ ] ) { $ query = new GeoDistanceQuery ( $ field , $ distance , $ location , $ attributes ) ; $ this -> append ( $ query ) ; return $ this ; }
Add a geo distance query.

@param string $field
@param string $distance
@param mixed  $location
@param array  $attributes

@return $this
Add a geo distance query .