Merge pull request #1167 from yohanboniface/layers_control
Return created HTML element in Control.Layers._addItem
This commit is contained in:
commit
b5c0a5f5f9
@ -174,6 +174,8 @@ L.Control.Layers = L.Control.extend({
|
||||
|
||||
var container = obj.overlay ? this._overlaysList : this._baseLayersList;
|
||||
container.appendChild(label);
|
||||
|
||||
return label;
|
||||
},
|
||||
|
||||
_onInputClick: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user