diff --git a/js/Map.js b/js/Map.js index 2995a36..77e1ec4 100644 --- a/js/Map.js +++ b/js/Map.js @@ -120,6 +120,10 @@ BR.Map = { 'keydown', function (e) { if (BR.Util.keyboardShortcutsAllowed(e) && e.keyCode === this.options.shortcut.locate) { + if (locationControl._active) { + locationControl.stop(); + return; + } locationControl.start(); } },