aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-09-11 21:52:13 -0700
committerAnton Tananaev <anton@traccar.org>2023-09-11 21:52:13 -0700
commite000421d9e67960d28666471bf8ea8c7b629dd9d (patch)
treec427c23f26431cee0027818db14daefb28801856 /src/main/java/org/traccar/config
parent023ab3249c1cbeb89e44af0d9f6c98130519a67d (diff)
downloadtrackermap-server-e000421d9e67960d28666471bf8ea8c7b629dd9d.tar.gz
trackermap-server-e000421d9e67960d28666471bf8ea8c7b629dd9d.tar.bz2
trackermap-server-e000421d9e67960d28666471bf8ea8c7b629dd9d.zip
Add speed limit accuracy (fix #5175)
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 27f5f0921..23a983e7b 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1678,6 +1678,14 @@ public final class Keys {
List.of(KeyType.CONFIG));
/**
+ * Search radius for speed limit. Value is in meters. Default value is 100.
+ */
+ public static final ConfigKey<Integer> SPEED_LIMIT_ACCURACY = new IntegerConfigKey(
+ "speedLimit.accuracy",
+ List.of(KeyType.CONFIG),
+ 100);
+
+ /**
* Override latitude sign / hemisphere. Useful in cases where value is incorrect because of device bug. Value can be
* N for North or S for South.
*/