From af448fb7f9469832790dcc688686a3fc936e625e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 13 Sep 2017 17:01:20 +0500 Subject: Make keyboard zoom and pan working --- web/app/view/map/BaseMap.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web') 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({ -- cgit v1.2.3