aboutsummaryrefslogtreecommitdiff
path: root/web/app/Style.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-27 11:18:44 +1200
committerGitHub <noreply@github.com>2016-08-27 11:18:44 +1200
commita2b84d023a847f52bf47d29faa843523ae4ac58a (patch)
tree6844f2281b5466a4b8488edcae75d3af2b53a41a /web/app/Style.js
parentbe87d85bd1ebb767817a268d576b5fb48fc361d8 (diff)
parent557c4214ae6ea8663f3f85cfa5652411aaa1ea09 (diff)
downloadtrackermap-server-a2b84d023a847f52bf47d29faa843523ae4ac58a.tar.gz
trackermap-server-a2b84d023a847f52bf47d29faa843523ae4ac58a.tar.bz2
trackermap-server-a2b84d023a847f52bf47d29faa843523ae4ac58a.zip
Merge pull request #2254 from Abyss777/reports_web2
Colour routes of different devices
Diffstat (limited to 'web/app/Style.js')
-rw-r--r--web/app/Style.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/web/app/Style.js b/web/app/Style.js
index ec007e674..2d6bfa5c3 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,6 @@ 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)',
mapColorOverlay: 'rgba(21, 127, 204, 0.2)',
mapRadiusNormal: 9,