aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b8e1535..b1d48c1 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 99c1381..6ae66e8 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",