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