aboutsummaryrefslogtreecommitdiff
path: root/web/app/Style.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-25 16:18:12 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-25 16:25:26 +0500
commit3cb5cca4b8db07fa477b23c711916307ff7db427 (patch)
tree94b7a4936a2f1ef860f60b636b7296cea74c1cd2 /web/app/Style.js
parent0a98a11fce24cde2904cadcfee3a0c9ac0044fe7 (diff)
downloadtrackermap-server-3cb5cca4b8db07fa477b23c711916307ff7db427.tar.gz
trackermap-server-3cb5cca4b8db07fa477b23c711916307ff7db427.tar.bz2
trackermap-server-3cb5cca4b8db07fa477b23c711916307ff7db427.zip
- Enabled multiple devices for reports
- Used different colors for routes of different devices
Diffstat (limited to 'web/app/Style.js')
-rw-r--r--web/app/Style.js18
1 files changed, 16 insertions, 2 deletions
diff --git a/web/app/Style.js b/web/app/Style.js
index ec007e674..8d1cf3c0e 100644
--- a/web/app/Style.js
+++ b/web/app/Style.js
@@ -38,7 +38,14 @@ Ext.define('Traccar.Style', {
mapDefaultLon: -0.1275,
mapDefaultZoom: 6,
- mapRouteColor: 'rgba(21, 127, 204, 1.0)',
+ mapRouteColor: [
+ 'rgba(21, 127, 204, 1.0)',
+ 'rgba(109, 46, 204, 1.0)',
+ 'rgba(204, 46, 162, 1.0)',
+ 'rgba(204, 46, 38, 1.0)',
+ 'rgba(128, 204, 46, 1.0)',
+ 'rgba(46, 204, 155, 1.0)'
+ ],
mapRouteWidth: 5,
mapArrowStrokeColor: 'rgba(50, 50, 50, 1.0)',
@@ -53,7 +60,14 @@ Ext.define('Traccar.Style', {
mapColorOnline: 'rgba(77, 250, 144, 1.0)',
mapColorUnknown: 'rgba(250, 190, 77, 1.0)',
mapColorOffline: 'rgba(255, 84, 104, 1.0)',
- mapColorReport: 'rgba(21, 127, 204, 1.0)',
+ mapColorReport: [
+ 'rgba(21, 127, 204, 1.0)',
+ 'rgba(109, 46, 204, 1.0)',
+ 'rgba(204, 46, 162, 1.0)',
+ 'rgba(204, 46, 38, 1.0)',
+ 'rgba(128, 204, 46, 1.0)',
+ 'rgba(46, 204, 155, 1.0)'
+ ],
mapColorOverlay: 'rgba(21, 127, 204, 0.2)',
mapRadiusNormal: 9,