protected function getBoundingConstraints(SelectQuery $query, MapLocationValue $location, $distance)
{
$boundingCoordinates = $this->getBoundingCoordinates($location, $distance);
return array($query->expr->gte($this->dbHandler->quoteColumn('latitude', 'ezgmaplocation'), $query->bindValue($boundingCoordinates['lowLatitude'])), $query->expr->gte($this->dbHandler->quoteColumn('longitude', 'ezgmaplocation'), $query->bindValue($boundingCoordinates['lowLongitude'])), $query->expr->lte($this->dbHandler->quoteColumn('latitude', 'ezgmaplocation'), $query->bindValue($boundingCoordinates['highLatitude'])), $query->expr->lte($this->dbHandler->quoteColumn('longitude', 'ezgmaplocation'), $query->bindValue($boundingCoordinates['highLongitude'])));
}