aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Geofence.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 23:46:36 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 23:46:36 +1300
commit886eb61ff0961d7e3be4e926d1510994b3df84e2 (patch)
tree7985a4b04ed48548371f9faa07d9bbe0c0f056c8 /src/org/traccar/model/Geofence.java
parentde43b1203b70a27c2833129983b86253371834d9 (diff)
downloadtrackermap-server-886eb61ff0961d7e3be4e926d1510994b3df84e2.tar.gz
trackermap-server-886eb61ff0961d7e3be4e926d1510994b3df84e2.tar.bz2
trackermap-server-886eb61ff0961d7e3be4e926d1510994b3df84e2.zip
Ignore marked methods in query builder (fix #2941)
Diffstat (limited to 'src/org/traccar/model/Geofence.java')
-rw-r--r--src/org/traccar/model/Geofence.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/Geofence.java b/src/org/traccar/model/Geofence.java
index f10ce6862..ffd4876bf 100644
--- a/src/org/traccar/model/Geofence.java
+++ b/src/org/traccar/model/Geofence.java
@@ -79,6 +79,7 @@ public class Geofence extends Extensible {
return geometry;
}
+ @JsonIgnore
public void setGeometry(GeofenceGeometry geometry) {
area = geometry.toWkt();
this.geometry = geometry;