aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-17 10:33:57 +1300
committerGitHub <noreply@github.com>2016-11-17 10:33:57 +1300
commit469869d4c01cd5385acee0c84faa226775454e79 (patch)
treeaa1e07fd469c4e2759156f52bc048315959ff755 /web/app/view/Map.js
parent5418af40f15876c5c48ffdeec7797f171ae36018 (diff)
parentd1182973f4a029aafdafb7331cc1ea4e264706e6 (diff)
downloadtrackermap-web-469869d4c01cd5385acee0c84faa226775454e79.tar.gz
trackermap-web-469869d4c01cd5385acee0c84faa226775454e79.tar.bz2
trackermap-web-469869d4c01cd5385acee0c84faa226775454e79.zip
Merge pull request #321 from Abyss777/move_follow
Move Follow button to Map toolbar
Diffstat (limited to 'web/app/view/Map.js')
-rw-r--r--web/app/view/Map.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/view/Map.js b/web/app/view/Map.js
index ce1c1227..be17b889 100644
--- a/web/app/view/Map.js
+++ b/web/app/view/Map.js
@@ -59,6 +59,13 @@ Ext.define('Traccar.view.Map', {
enableToggle: true,
tooltip: Strings.mapLiveRoutes
}, {
+ reference: 'deviceFollowButton',
+ glyph: 'xf05b@FontAwesome',
+ tooltip: Strings.deviceFollow,
+ tooltipType: 'title',
+ enableToggle: true,
+ toggleHandler: 'onFollowClick'
+ }, {
id: 'muteButton',
glyph: 'xf1f7@FontAwesome',
tooltip: Strings.sharedMute,