diff --git a/README.md b/README.md index f3f42be..0ad3def 100644 --- a/README.md +++ b/README.md @@ -739,7 +739,7 @@ Search documents within flat circle: collection ->find() - ->withinCircle('point', 28.46963, 49.2347, 1) + ->withinCircle('point', 28.46963, 49.2347, 0.001) ->findOne(); ``` @@ -752,7 +752,7 @@ $point = $this->collection ->findOne(); ``` -Search documents within box: +Search documents with points (stored as legacy coordinates) within box: ```php collection diff --git a/tests/DocumentGeoTest.php b/tests/DocumentGeoTest.php index 2613224..e0d5e2e 100644 --- a/tests/DocumentGeoTest.php +++ b/tests/DocumentGeoTest.php @@ -643,7 +643,7 @@ public function testExpressionWithinCircle() $point = $this->collection ->find() - ->withinCircle('point', 28.46963, 49.2347, 1) + ->withinCircle('point', 28.46963, 49.2347, 0.001) ->findOne(); $this->assertNotEmpty($point);