mongodb/docs — pull request #845 by ql (2013-04-11 14:40:06+00:00)
Title: Update near.txt

$maxDistance inside $geometry clause looks like mistake

doesn't work for me as well - I'm getting this all the time:
{"error":"point not in interval of [ -180, 180 ] :: caused by :: { 0: 0.0, 1: 100000.0 }"}