diff --git a/source/reference/operator/query/maxDistance.txt b/source/reference/operator/query/maxDistance.txt index dfbfea847cd..8839e8abddc 100644 --- a/source/reference/operator/query/maxDistance.txt +++ b/source/reference/operator/query/maxDistance.txt @@ -32,14 +32,14 @@ Example ------- The following example query returns documents with location values that -are ``10`` or fewer units from the point ``[ 100 , 100 ]``. +are ``10`` or fewer units from the point ``[ -74 , 40 ]``. .. code-block:: javascript db.places.find( { - loc: { $near: [ 100 , 100 ], $maxDistance: 10 } + loc: { $near: [ -74 , 40 ], $maxDistance: 10 } } ) -MongoDB orders the results by their distance from ``[ 100 , 100 ]``. +MongoDB orders the results by their distance from ``[ -74 , 40 ]``. The operation returns the first 100 results, unless you modify the query with the :method:`cursor.limit()` method.