diff options
Diffstat (limited to 'src/main/java/org/traccar/geofence/GeofencePolyline.java')
-rw-r--r-- | src/main/java/org/traccar/geofence/GeofencePolyline.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/geofence/GeofencePolyline.java b/src/main/java/org/traccar/geofence/GeofencePolyline.java index d84f512e3..370bf99bb 100644 --- a/src/main/java/org/traccar/geofence/GeofencePolyline.java +++ b/src/main/java/org/traccar/geofence/GeofencePolyline.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Anton Tananaev (anton@traccar.org) + * Copyright 2016 - 2020 Anton Tananaev (anton@traccar.org) * Copyright 2016 Andrey Kunitsyn (andrey@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -47,6 +47,11 @@ public class GeofencePolyline extends GeofenceGeometry { } @Override + public double calculateArea() { + return 0; + } + + @Override public String toWkt() { StringBuilder buf = new StringBuilder(); buf.append("LINESTRING ("); |