From 16a877b6a93caacbe8f8eeb0d7c079ac59006077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Hu=CC=88bner?= Date: Tue, 15 Sep 2020 13:19:37 +0200 Subject: [PATCH] Longitude may vary from -180 to +180. --- Query/RadiusQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Query/RadiusQuery.php b/Query/RadiusQuery.php index b29da3b..26b238a 100644 --- a/Query/RadiusQuery.php +++ b/Query/RadiusQuery.php @@ -21,7 +21,7 @@ class RadiusQuery extends AbstractQuery implements ElasticQueryInterface /** * @Constraints\NotNull() * @Constraints\Type("float") - * @Constraints\Range(min="-90", max="90") + * @Constraints\Range(min="-180", max="180") * @var float $centerLongitude */ protected $centerLongitude;