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('id', 'createnoteanchor')
10 .attr('class', 'control-button geolink')
11 .attr('data-minzoom', 12)
13 .html('<span class="icon note"></span>')
14 .appendTo($container);