diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-14 09:29:56 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-14 09:29:56 +1200 |
commit | 4193ac77fd9f0da264284a6f73601963995554c8 (patch) | |
tree | e68c8eaa6c05ea164d6eedf5feca80cd81b9e6e6 | |
parent | 31a6fed66b4f077d2b6443fdd34229befe8777c3 (diff) | |
parent | af448fb7f9469832790dcc688686a3fc936e625e (diff) | |
download | trackermap-web-4193ac77fd9f0da264284a6f73601963995554c8.tar.gz trackermap-web-4193ac77fd9f0da264284a6f73601963995554c8.tar.bz2 trackermap-web-4193ac77fd9f0da264284a6f73601963995554c8.zip |
Merge pull request #586 from Abyss777/keyboard_zoom
Make keyboard zoom and pan working
-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({ |