aboutsummaryrefslogtreecommitdiff
path: root/web/app/Style.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 10:54:29 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-08 10:54:29 +1300
commit2a6ed3e412ed86a9b14d004a7f2a91d942951082 (patch)
tree257e0ade1e4fd3c637f2e8bb7a654737ec8dd557 /web/app/Style.js
parent7d82aeb8f296a8862e9d64eda029c3184bae089b (diff)
downloadtrackermap-server-2a6ed3e412ed86a9b14d004a7f2a91d942951082.tar.gz
trackermap-server-2a6ed3e412ed86a9b14d004a7f2a91d942951082.tar.bz2
trackermap-server-2a6ed3e412ed86a9b14d004a7f2a91d942951082.zip
Refactor map and report controllers
Diffstat (limited to 'web/app/Style.js')
-rw-r--r--web/app/Style.js29
1 files changed, 20 insertions, 9 deletions
diff --git a/web/app/Style.js b/web/app/Style.js
index 4c7028658..7fedfc7a7 100644
--- a/web/app/Style.js
+++ b/web/app/Style.js
@@ -35,15 +35,26 @@ Ext.define('Traccar.Style', {
mapDefaultLon: -0.1275,
mapDefaultZoom: 6,
- mapMaxZoom: 19,
- mapSelectColor: 'rgba(0, 255, 0, 1.0)',
- mapSelectRadius: 10,
- mapReportColor: 'rgba(0, 0, 255, 1.0)',
- mapReportRadius: 5,
- mapLiveColor: 'rgba(255, 0, 0, 1.0)',
- mapLiveRadius: 7,
- mapStrokeColor: 'rgba(50, 50, 50, 1.0)',
+ mapRouteColor: 'rgba(21, 127, 204, 1.0)',
mapRouteWidth: 5,
- mapMarkerStroke: 2,
+
+ mapArrowStrokeColor: 'rgba(50, 50, 50, 1.0)',
+ mapArrowStrokeWidth: 2,
+
+ mapTextColor: 'rgba(50, 50, 50, 1.0)',
+ mapTextStrokeColor: 'rgba(255, 255, 255, 1.0)',
+ mapTextStrokeWidth: 2,
+ mapTextOffset: 10,
+ mapTextFont: 'bold 12px sans-serif',
+
+ mapColorOnline: '#4DFA90',
+ mapColorUnknown: '#FABE4D',
+ mapColorOffline: '#FF5468',
+ mapColorReport: 'rgba(21, 127, 204, 1.0)',
+
+ mapRadiusNormal: 10,
+ mapRadiusSelected: 15,
+
+ mapMaxZoom: 19,
mapDelay: 500
});