aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-20 17:36:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-20 17:36:22 +1300
commit22fdf5388719120b84ce981807d17d68e87a0c07 (patch)
tree099c87779c85ade323604e0f57b76f99331acf14 /src/org
parent0a8d47bec2a232aad6353d34a101eb82c9d4f7ae (diff)
downloadtrackermap-server-22fdf5388719120b84ce981807d17d68e87a0c07.tar.gz
trackermap-server-22fdf5388719120b84ce981807d17d68e87a0c07.tar.bz2
trackermap-server-22fdf5388719120b84ce981807d17d68e87a0c07.zip
Fix location provider result decoding
Diffstat (limited to 'src/org')
-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;