X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/47e585f94fe77566bd2235b5052038313c7fb483..75a4d406b9e8471c0fe0ebf2a47d47f0ae36289a:/app/assets/javascripts/leaflet.key.js diff --git a/app/assets/javascripts/leaflet.key.js b/app/assets/javascripts/leaflet.key.js index 367c39c14..088d0f9d3 100644 --- a/app/assets/javascripts/leaflet.key.js +++ b/app/assets/javascripts/leaflet.key.js @@ -1,37 +1,11 @@ L.OSM.key = function (options) { - var control = L.control(options); - - control.onAdd = function (map) { - var $container = $("
") - .attr("class", "control-key"); - - var button = $("") - .attr("class", "control-button") - .attr("href", "#") - .html("") - .on("click", toggle) - .appendTo($container); - - var $ui = $("
") - .attr("class", "key-ui"); - - $("
") - .attr("class", "sidebar_heading") - .appendTo($ui) - .append( - $("