aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 17:17:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-08 17:17:27 +1300
commit4966403aab46912dd29b8385b6050e95c47c295f (patch)
tree28b71a74e278274170fb7cbb13587f1fcd1dc26a /web/app/model
parentfc408a9ad93ebef686453be0d6565a5e630bf476 (diff)
downloadetbsa-traccar-web-4966403aab46912dd29b8385b6050e95c47c295f.tar.gz
etbsa-traccar-web-4966403aab46912dd29b8385b6050e95c47c295f.tar.bz2
etbsa-traccar-web-4966403aab46912dd29b8385b6050e95c47c295f.zip
Add various coordinate formats
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Server.js3
-rw-r--r--web/app/model/User.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index 4fe8efd..be23289 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -59,6 +59,9 @@ Ext.define('Traccar.model.Server', {
name: 'forceSettings',
type: 'boolean'
}, {
+ name: 'coordinateFormat',
+ type: 'string'
+ }, {
name: 'attributes'
}],
diff --git a/web/app/model/User.js b/web/app/model/User.js
index 8c7638f..718c571 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -59,6 +59,9 @@ Ext.define('Traccar.model.User', {
name: 'twelveHourFormat',
type: 'boolean'
}, {
+ name: 'coordinateFormat',
+ type: 'string'
+ }, {
name: 'attributes'
}],