From 0cd2e4acd1a1a1000eb8e1e4a82ecb47809bd106 Mon Sep 17 00:00:00 2001 From: Jake Stride Date: Sun, 10 Jun 2018 07:16:47 +0800 Subject: Update WebDataHandler.java Added accuracy as an additional parameter that can be passed to url forward --- src/org/traccar/WebDataHandler.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org/traccar') 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) { -- cgit v1.2.3