From 2a6ed3e412ed86a9b14d004a7f2a91d942951082 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 Nov 2015 10:54:29 +1300 Subject: Refactor map and report controllers --- web/app/Style.js | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'web/app/Style.js') 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 }); -- cgit v1.2.3