diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-04 08:03:57 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-04 08:03:57 +1300 |
commit | 41e50383671843823a9c41d11b02a8cd9165e0b0 (patch) | |
tree | dbe523d07c683fcf97baa176651f6ea5a66e6233 /web/app/view/MapController.js | |
parent | 9adb468ca86dc1b40c29c692a3710426174ea5f9 (diff) | |
download | trackermap-web-41e50383671843823a9c41d11b02a8cd9165e0b0.tar.gz trackermap-web-41e50383671843823a9c41d11b02a8cd9165e0b0.tar.bz2 trackermap-web-41e50383671843823a9c41d11b02a8cd9165e0b0.zip |
Move some buttons to map
Diffstat (limited to 'web/app/view/MapController.js')
-rw-r--r-- | web/app/view/MapController.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js index 23cbc9e3..323f29da 100644 --- a/web/app/view/MapController.js +++ b/web/app/view/MapController.js @@ -67,29 +67,6 @@ Ext.define('Traccar.view.MapController', { this.reportMarkers = {}; this.liveRoutes = {}; this.liveRouteLength = Traccar.app.getAttributePreference('web.liveRouteLength', 10); - this.getView().header = { - xtype: 'header', - title: Strings.mapTitle, - defaults: { - xtype: 'button', - tooltipType: 'title', - margin: Traccar.Style.headerButtonsMargin - }, - items: [{ - handler: 'showGeofences', - reference: 'showGeofencesButton', - glyph: 'xf21d@FontAwesome', - enableToggle: true, - pressed: true, - tooltip: Strings.sharedGeofences - }, { - handler: 'showLiveRoutes', - reference: 'showLiveRoutes', - glyph: 'xf1b0@FontAwesome', - enableToggle: true, - tooltip: Strings.mapLiveRoutes - }] - }; }, getDeviceColor: function (device) { |