aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/location/UniversalLocationProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/location/UniversalLocationProvider.java')
-rw-r--r--src/org/traccar/location/UniversalLocationProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/location/UniversalLocationProvider.java b/src/org/traccar/location/UniversalLocationProvider.java
index 624d020a5..7f7028545 100644
--- a/src/org/traccar/location/UniversalLocationProvider.java
+++ b/src/org/traccar/location/UniversalLocationProvider.java
@@ -46,7 +46,7 @@ public class UniversalLocationProvider implements LocationProvider {
JsonObject location = json.getJsonObject("location");
callback.onSuccess(
location.getJsonNumber("lat").doubleValue(),
- location.getJsonNumber("lon").doubleValue(),
+ location.getJsonNumber("lng").doubleValue(),
json.getJsonNumber("accuracy").doubleValue());
}
return null;