aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
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/app/store
parent9af405a391f61f32d1ed2d8d4a7a839dea8572ed (diff)
downloadtrackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.tar.gz
trackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.tar.bz2
trackermap-web-5af943fc3de89cade17aa5f894ed2fc18713d0cf.zip
Add polylineDistance Geofence attribute
Diffstat (limited to 'web/app/store')
-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'
}]
});