aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-05-07 15:00:21 +0500
committerAbyss777 <abyss@fox5.ru>2018-05-07 15:00:21 +0500
commitce26a0768ace197cc9afdfc3ee04f970699d3c5e (patch)
tree6dfa7cd23dc00c56260af1b7c2960a755c166bb4 /src/org/traccar/Context.java
parent4713a115fbe4a37ddf24e96edeab800843607f90 (diff)
downloadtrackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.tar.gz
trackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.tar.bz2
trackermap-server-ce26a0768ace197cc9afdfc3ee04f970699d3c5e.zip
Add basic support of overspeeding inside geofences.
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index ee14eb1f7..b7cfd27b0 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -464,7 +464,8 @@ public final class Context {
motionEventHandler = new MotionEventHandler(tripsConfig);
overspeedEventHandler = new OverspeedEventHandler(
Context.getConfig().getLong("event.overspeed.minimalDuration") * 1000,
- Context.getConfig().getBoolean("event.overspeed.notRepeat"));
+ Context.getConfig().getBoolean("event.overspeed.notRepeat"),
+ Context.getConfig().getBoolean("event.overspeed.geofenceMinimal"));
}
public static void init(IdentityManager testIdentityManager) {