Merge pull request #1167 from yohanboniface/layers_control

Return created HTML element in Control.Layers._addItem
This commit is contained in:
Vladimir Agafonkin 2012-11-21 13:02:26 -08:00
commit b5c0a5f5f9

View File

@ -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 () {