aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-16 16:24:15 +1200
committerGitHub <noreply@github.com>2018-05-16 16:24:15 +1200
commitd869c8342103c5b71668a36ca61f987c26ec9bd4 (patch)
tree087ed1b5161f871460e0a1cf4a7c9cbdf64d99c4 /web/app
parentda1bb491208934a0a73ec216833bb8e7ead3f235 (diff)
parent5af943fc3de89cade17aa5f894ed2fc18713d0cf (diff)
downloadtrackermap-web-d869c8342103c5b71668a36ca61f987c26ec9bd4.tar.gz
trackermap-web-d869c8342103c5b71668a36ca61f987c26ec9bd4.tar.bz2
trackermap-web-d869c8342103c5b71668a36ca61f987c26ec9bd4.zip
Merge pull request #676 from Abyss777/geo_polylineDistance
Add polylineDistance Geofence attribute
Diffstat (limited to 'web/app')
-rw-r--r--web/app/store/GeofenceAttributes.js9
1 files changed, 7 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'
}]
});