Details
-
Bug
-
Resolution: Fixed
-
Blocker - P1
-
None
-
None
-
None
-
*Location*: https://docs.mongodb.com/manual/reference/operator/query-geospatial/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
*Referrer*: https://docs.mongodb.com/manual/reference/operator/query/geoWithin/
*Screen Resolution*: 1366 x 768
*Location*: https://docs.mongodb.com/manual/reference/operator/query-geospatial/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 *Referrer*: https://docs.mongodb.com/manual/reference/operator/query/geoWithin/ *Screen Resolution*: 1366 x 768
Description
$maxDistance:
Specifies a maximum distance to limit the results of $near and $nearSphere queries. The 2dsphere and 2d indexes support $centerSphere.
Just a typo in $maxDistance. The 2dsphere and 2d indexes support "$maxDistance" not "$centerSphere"