Move button to add custom layers into layer switcher tab, closes #89

This commit is contained in:
Norbert Renner 2018-02-12 20:56:24 +01:00
parent 23e7eb073e
commit 65c0e92096
2 changed files with 7 additions and 11 deletions

View file

@ -59,16 +59,9 @@ BR.Layers = L.Class.extend({
}
});
addLayer = L.easyButton(
'fa-plus-square',
function () {
$('#custom_layers').modal();
},
'Add or remove custom layers',
{
position: 'topright'
}
).addTo(map);
L.DomUtil.get('custom_layers_button').onclick = function () {
$('#custom_layers').modal();
};
},
_remove: function(evt) {