1 L.OSM.key = function(options) {
2 var control = L.control(options);
4 control.onAdd = function (map) {
5 var $container = $('<div>')
6 .attr('class', 'control-key');
9 .attr('class', 'control-button')
11 .attr('title', 'Map Key')
12 .html('<span class="icon key"></span>')
13 .appendTo($container);