aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-13 17:01:20 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-13 17:01:20 +0500
commitaf448fb7f9469832790dcc688686a3fc936e625e (patch)
treee68c8eaa6c05ea164d6eedf5feca80cd81b9e6e6 /web/app/view/map
parent31a6fed66b4f077d2b6443fdd34229befe8777c3 (diff)
downloadtrackermap-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.js2
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({