aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-05-16 09:21:05 +0500
committerAbyss777 <abyss@fox5.ru>2018-05-16 09:21:05 +0500
commit5af943fc3de89cade17aa5f894ed2fc18713d0cf (patch)
tree1e8277803e8fbf2bd265eb7d1792d2938637baba /web
parent9af405a391f61f32d1ed2d8d4a7a839dea8572ed (diff)
downloadtrackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.tar.gz
trackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.tar.bz2
trackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.zip
Add polylineDistance Geofence attribute
Diffstat (limited to 'web')
-rw-r--r--web/app/store/GeofenceAttributes.js9
-rw-r--r--web/l10n/en.json1
2 files changed, 8 insertions, 2 deletions
diff --git a/web/app/store/GeofenceAttributes.js b/web/app/store/GeofenceAttributes.js
index b8e15357..b1d48c19 100644
--- a/web/app/store/GeofenceAttributes.js
+++ b/web/app/store/GeofenceAttributes.js
@@ -1,6 +1,6 @@
/*
- * Copyright 2017 Anton Tananaev (anton@traccar.org)
- * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org)
+ * Copyright 2017 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2017 - 2018 Andrey Kunitsyn (andrey@traccar.org)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,5 +29,10 @@ Ext.define('Traccar.store.GeofenceAttributes', {
name: Strings.attributeSpeedLimit,
valueType: 'number',
dataType: 'speed'
+ }, {
+ key: 'polylineDistance',
+ name: Strings.attributePolylineDistance,
+ valueType: 'number',
+ dataType: 'distance'
}]
});
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 99c1381e..6ae66e8a 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -78,6 +78,7 @@
"sharedMaintenance": "Maintenance",
"sharedMaintenances": "Maintenances",
"attributeSpeedLimit": "Speed Limit",
+ "attributePolylineDistance": "Polyline Distance",
"attributeReportIgnoreOdometer": "Report: Ignore Odometer",
"attributeWebReportColor": "Web: Report Color",
"attributeDevicePassword": "Device Password",