aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 16:34:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 16:34:52 +1300
commit47a5886d953ca511c425a0226ff0084696dc6a9e (patch)
tree0639edfe2be9ef92e71d5b4dd9eff2d5a194da25 /src/org
parentc39342398677923c9fae7b1b86bb11914eafb847 (diff)
downloadtrackermap-server-47a5886d953ca511c425a0226ff0084696dc6a9e.tar.gz
trackermap-server-47a5886d953ca511c425a0226ff0084696dc6a9e.tar.bz2
trackermap-server-47a5886d953ca511c425a0226ff0084696dc6a9e.zip
Add coordinates format for user and server
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/model/Server.java10
-rw-r--r--src/org/traccar/model/User.java10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java
index 0cd23865f..9a1552110 100644
--- a/src/org/traccar/model/Server.java
+++ b/src/org/traccar/model/Server.java
@@ -137,4 +137,14 @@ public class Server extends Extensible {
this.forceSettings = forceSettings;
}
+ private String coordinatesFormat;
+
+ public String getCoordinatesFormat() {
+ return coordinatesFormat;
+ }
+
+ public void setCoordinatesFormat(String coordinatesFormat) {
+ this.coordinatesFormat = coordinatesFormat;
+ }
+
}
diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java
index aa73cfcff..63aa3e641 100644
--- a/src/org/traccar/model/User.java
+++ b/src/org/traccar/model/User.java
@@ -130,6 +130,16 @@ public class User extends Extensible {
this.twelveHourFormat = twelveHourFormat;
}
+ private String coordinatesFormat;
+
+ public String getCoordinatesFormat() {
+ return coordinatesFormat;
+ }
+
+ public void setCoordinatesFormat(String coordinatesFormat) {
+ this.coordinatesFormat = coordinatesFormat;
+ }
+
private String password;
public String getPassword() {