diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-13 17:01:20 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-13 17:01:20 +0500 |
commit | af448fb7f9469832790dcc688686a3fc936e625e (patch) | |
tree | e68c8eaa6c05ea164d6eedf5feca80cd81b9e6e6 /web/app/view/map | |
parent | 31a6fed66b4f077d2b6443fdd34229befe8777c3 (diff) | |
download | trackermap-web-af448fb7f9469832790dcc688686a3fc936e625e.tar.gz trackermap-web-af448fb7f9469832790dcc688686a3fc936e625e.tar.bz2 trackermap-web-af448fb7f9469832790dcc688686a3fc936e625e.zip |
Make keyboard zoom and pan working
Diffstat (limited to 'web/app/view/map')
-rw-r--r-- | web/app/view/map/BaseMap.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js index 30ac23eb..32fb17d1 100644 --- a/web/app/view/map/BaseMap.js +++ b/web/app/view/map/BaseMap.js @@ -175,6 +175,8 @@ Ext.define('Traccar.view.map.BaseMap', { view: this.mapView }); + this.body.dom.tabIndex = 0; + switch (Traccar.app.getAttributePreference('distanceUnit', 'km')) { case 'mi': this.map.addControl(new ol.control.ScaleLine({ |