diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-14 16:31:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 16:31:24 +0300 |
commit | 15b5ac0768ee7236d1af025460a3bdd4f8fa6994 (patch) | |
tree | 778506714b81ffb4fece27a4e6fa2eb5bf17e824 /src/org/traccar/model | |
parent | d9777620508a7b197f0e5752869eef91d83e20a0 (diff) | |
parent | 6c8609aa3151246ab171995ef08c161e5d3b8242 (diff) | |
download | trackermap-server-15b5ac0768ee7236d1af025460a3bdd4f8fa6994.tar.gz trackermap-server-15b5ac0768ee7236d1af025460a3bdd4f8fa6994.tar.bz2 trackermap-server-15b5ac0768ee7236d1af025460a3bdd4f8fa6994.zip |
Merge pull request #2211 from Abyss777/distance
Changed way of summary distance calculation
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Position.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java index d2409a75d..680a6ae8f 100644 --- a/src/org/traccar/model/Position.java +++ b/src/org/traccar/model/Position.java @@ -49,6 +49,7 @@ public class Position extends Message { public static final String KEY_IP = "ip"; public static final String KEY_ARCHIVE = "archive"; public static final String KEY_DISTANCE = "distance"; + public static final String KEY_TOTAL_DISTANCE = "totalDistance"; public static final String KEY_RPM = "rpm"; public static final String KEY_VIN = "vin"; public static final String KEY_APPROXIMATE = "approximate"; |