Skip to content

Commit 0823949

Browse files
committed
Increased the coordinates to 8 decimal places for precision
1 parent 25e3866 commit 0823949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/QueryDsl/Geo/GeoLocation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static GeoLocation TryCreate(double latitude, double longitude)
8282

8383
public override string ToString()
8484
{
85-
return _latitude.ToString("#0.0#####") + "," + _longitude.ToString("#0.0#####");
85+
return _latitude.ToString("#0.0#######") + "," + _longitude.ToString("#0.0#######");
8686
}
8787

8888
public bool Equals(GeoLocation other)

0 commit comments

Comments
 (0)