Restore prohibition on low-zoom notes
This commit is contained in:
parent
5080ad7542
commit
7094370208
1 changed files with 3 additions and 2 deletions
|
@ -6,9 +6,10 @@ L.OSM.note = function (options) {
|
|||
.attr('class', 'control-note');
|
||||
|
||||
$('<a>')
|
||||
.attr('class', 'control-button')
|
||||
.attr('id', 'createnoteanchor')
|
||||
.attr('class', 'control-button geolink')
|
||||
.attr('data-minzoom', 12)
|
||||
.attr('href', '#')
|
||||
.attr('title', I18n.t('javascripts.notes.new.add'))
|
||||
.html('<span class="icon note"></span>')
|
||||
.appendTo($container);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue