X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..7dbf8d83369cb73929080c4ba23fdd7dcd0184df:/app/assets/javascripts/leaflet.layers.js?ds=sidebyside diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index eedf718d3..a465e1449 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -49,7 +49,7 @@ L.OSM.layers = function(options) { .appendTo(item); map.whenReady(function() { - var miniMap = L.map(div[0], {attributionControl: false, zoomControl: false}) + var miniMap = L.map(div[0], {attributionControl: false, zoomControl: false, keyboard: false}) .addLayer(new layer.constructor({ apikey: layer.options.apikey })); miniMap.dragging.disable();