Browse Source

Update GeoJsonPoint Javadoc.

Mention x -> longitude, y -> latitude relation.

Closes: #3956
pull/4007/head
sangyongchoi 4 years ago committed by Christoph Strobl
parent
commit
2a3f746cb6
No known key found for this signature in database
GPG Key ID: 8CC1AB53391458C8
  1. 4
      spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java

4
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/geo/GeoJsonPoint.java

@ -36,8 +36,8 @@ public class GeoJsonPoint extends Point implements GeoJson<List<Double>> { @@ -36,8 +36,8 @@ public class GeoJsonPoint extends Point implements GeoJson<List<Double>> {
/**
* Creates {@link GeoJsonPoint} for given coordinates.
*
* @param x
* @param y
* @param x : longitude
* @param y : latitude
*/
public GeoJsonPoint(double x, double y) {
super(x, y);

Loading…
Cancel
Save