Move button to add custom layers into layer switcher tab, closes #89
This commit is contained in:
parent
23e7eb073e
commit
65c0e92096
2 changed files with 7 additions and 11 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue