diff options
Diffstat (limited to 'web/app/Style.js')
-rw-r--r-- | web/app/Style.js | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/web/app/Style.js b/web/app/Style.js index 4c7028658..58ab059ad 100644 --- a/web/app/Style.js +++ b/web/app/Style.js @@ -24,6 +24,7 @@ Ext.define('Traccar.Style', { dateTimeFormat: 'Y-m-d H:i:s', timeFormat: 'H:i', + dateFormat: 'Y-m-d', weekStartDay: 1, deviceWidth: 350, @@ -35,15 +36,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 }); |