public function withinPolygon($field, array $points) { $this->where($field, array('$geoWithin' => array('$polygon' => $points))); return $this; }