diff options
author | Jake Stride <jake@stride.me.uk> | 2018-06-10 07:16:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-10 07:16:47 +0800 |
commit | 0cd2e4acd1a1a1000eb8e1e4a82ecb47809bd106 (patch) | |
tree | 29d11ac4bd0c803cf0455b2b8c0c62ab487a996b /src | |
parent | dff539dd8c556c727ce1262941ba2e80bb82a9fa (diff) | |
download | trackermap-server-0cd2e4acd1a1a1000eb8e1e4a82ecb47809bd106.tar.gz trackermap-server-0cd2e4acd1a1a1000eb8e1e4a82ecb47809bd106.tar.bz2 trackermap-server-0cd2e4acd1a1a1000eb8e1e4a82ecb47809bd106.zip |
Update WebDataHandler.java
Added accuracy as an additional parameter that can be passed to url forward
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/WebDataHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java index 79221de9a..763493437 100644 --- a/src/org/traccar/WebDataHandler.java +++ b/src/org/traccar/WebDataHandler.java @@ -98,6 +98,7 @@ public class WebDataHandler extends BaseDataHandler { .replace("{altitude}", String.valueOf(position.getAltitude())) .replace("{speed}", String.valueOf(position.getSpeed())) .replace("{course}", String.valueOf(position.getCourse())) + .replace("{accuracy}", String.valueOf(position.getAccuracy())) .replace("{statusCode}", calculateStatus(position)); if (position.getAddress() != null) { |