Skip to content

Commit

Permalink
Merge pull request #740 from criticalmass-one/fix-radius-query
Browse files Browse the repository at this point in the history
Longitude may vary from -180 to +180
  • Loading branch information
maltehuebner authored Sep 15, 2020
2 parents 42111c0 + 16a877b commit 1e1d99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Query/RadiusQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e1d99a

Please sign in to comment.