The geometry parameter GeoJSON object or an array corresponding to the
geometry's JSON representation.
public geoIntersects ( array | GeoJson\Geometry\Geometry $geometry ) | ||
$geometry | array | GeoJson\Geometry\Geometry |
/** * Add $geoIntersects criteria with a GeoJSON geometry to the query. * * The geometry parameter GeoJSON object or an array corresponding to the * geometry's JSON representation. * * @see Expr::geoIntersects() * @see http://docs.mongodb.org/manual/reference/operator/geoIntersects/ * @param array|Geometry $geometry * @return self */ public function geoIntersects($geometry) { $this->expr->geoIntersects($geometry); return $this; }