fixed bugs with coords:
argument order is now [lat, lon] everywhere Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -59,7 +59,7 @@ public class Util {
|
||||
try {
|
||||
var lat = Double.parseDouble(parts[0].trim());
|
||||
var lon = Double.parseDouble(parts[1].trim());
|
||||
return Payload.of(new Coords(lon, lat));
|
||||
return Payload.of(new Coords(lat, lon));
|
||||
} catch (NumberFormatException nfe) {
|
||||
return error(nfe, "Failed to parse coords from %s", coords);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user