Paradox/Client.php
public function findOneNear($type, $latitude, $longitude, $aql, $params = array(), $placeholder = "doc")
    {
        $reference = array('latitude' => $latitude, 'longitude' => $longitude);

        return $this->getToolbox($this->_currentConnection)->getFinder()->findOneNear($type, $reference, $aql, $params, $placeholder);
    }
public function findOneNear($type, $latitude, $longitude, $aql, $params = array(), $placeholder = "doc")
    {
        $reference = array('latitude' => $latitude, 'longitude' => $longitude);

        return $this->getToolbox($this->_currentConnection)->getFinder()->findOneNear($type, $reference, $aql, $params, $placeholder);
    }
Find one document/edge/vertice near a reference point. If nothing is found, null is returned
A LIMIT 1 is automatically set, so you do not need to set the LIMIT yourself: doc.age > 20 SORT doc.name
@param  string          $type        The collection to search in. For graphs, only "vertex" and "edge" are allowed.
@param  float           $latitude    The latitude in degrees.
@param  float           $longitude   The longitude in degrees.
@param  string          $aql         An AQL fragment that will be inserted after the FILTER keyword.
@param  array           $params      An optional associative array containing parameters to bind to the query.
@param  string          $placeholder Set this to something else if you do not wish to use "doc" to refer to documents in your query.
@throws FinderException
@return null|AModel