aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-01 16:50:47 +1200
committerGitHub <noreply@github.com>2017-06-01 16:50:47 +1200
commitfe99c894c581722ab6aa2b422ed768eb9da19cfb (patch)
tree21f5e7cc17e982e2c5b52682dfac29943e39199d /web/app/view/map/Map.js
parent0e598a6232e9cd7188916e06077862d6630a255b (diff)
parent35e8f4b4974515733737c5cc1dd439ca47860007 (diff)
downloadtrackermap-web-fe99c894c581722ab6aa2b422ed768eb9da19cfb.tar.gz
trackermap-web-fe99c894c581722ab6aa2b422ed768eb9da19cfb.tar.bz2
trackermap-web-fe99c894c581722ab6aa2b422ed768eb9da19cfb.zip
Merge pull request #498 from Abyss777/events_panel
Implement Events panel
Diffstat (limited to 'web/app/view/map/Map.js')
-rw-r--r--web/app/view/map/Map.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/web/app/view/map/Map.js b/web/app/view/map/Map.js
index d4e654eb..82b76ee5 100644
--- a/web/app/view/map/Map.js
+++ b/web/app/view/map/Map.js
@@ -52,6 +52,13 @@ Ext.define('Traccar.view.map.Map', {
enableToggle: false,
tooltip: Strings.reportTitle
}, {
+ handler: 'showEvents',
+ reference: 'showEventsButton',
+ glyph: 'xf27b@FontAwesome',
+ stateful: false,
+ enableToggle: false,
+ tooltip: Strings.reportEvents
+ }, {
handler: 'updateGeofences',
reference: 'showGeofencesButton',
glyph: 'xf21d@FontAwesome',
@@ -71,11 +78,6 @@ Ext.define('Traccar.view.map.Map', {
stateId: 'device-follow-button',
toggleHandler: 'onFollowClick'
}, {
- id: 'soundButton',
- glyph: 'xf0a2@FontAwesome',
- tooltip: Strings.sharedSound,
- stateId: 'sound-button'
- }, {
xtype: 'settingsMenu',
enableToggle: false
}]