X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/377391e8bb4294a539d5363a20af51243877243c..f8b04635a79cf23a30ae1c80029d8c33f34f8424:/app/assets/javascripts/leaflet.layers.js diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index dc692a4a5..35b958c7a 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -29,7 +29,7 @@ L.OSM.layers = function (options) { map.whenReady(function () { var miniMap = L.map(mapContainer[0], { attributionControl: false, zoomControl: false, keyboard: false }) - .addLayer(new layer.constructor({ apikey: layer.options.apikey })); + .addLayer(new layer.constructor(layer.options)); miniMap.dragging.disable(); miniMap.touchZoom.disable();