aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model/Geofence.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/model/Geofence.java')
-rw-r--r--src/main/java/org/traccar/model/Geofence.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Geofence.java b/src/main/java/org/traccar/model/Geofence.java
index 835ea7c22..85f392f99 100644
--- a/src/main/java/org/traccar/model/Geofence.java
+++ b/src/main/java/org/traccar/model/Geofence.java
@@ -68,7 +68,7 @@ public class Geofence extends ScheduledModel {
} else if (area.startsWith("LINESTRING")) {
final double distance = getDouble("polylineDistance");
geometry = new GeofencePolyline(area, distance > 0 ? distance
- : Context.getConfig().getDouble(Keys.GEOFENCE_POLYLINE_DISTANCE, 25));
+ : Context.getConfig().getDouble(Keys.GEOFENCE_POLYLINE_DISTANCE));
} else {
throw new ParseException("Unknown geometry type", 0);
}