db.points.find({ loc : { $within : { $centerSphere : [[x, y], [big num
like 300]/earthRadius] } }, $where : "Geo.sphereDistance( this.loc, [x,
y] ) < this.radius" })
i'm a bit confused as to what you're trying to model though, since if
you have multiple points, potentially at the same location, I'm not sure
what document you'd want to refer to for the radius.