return this in LayerGroup eachLayer, close #1452
This commit is contained in:
parent
0a83b83237
commit
bba4f2ae1b
@ -90,6 +90,7 @@ L.LayerGroup = L.Class.extend({
|
|||||||
method.call(context, this._layers[i]);
|
method.call(context, this._layers[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
setZIndex: function (zIndex) {
|
setZIndex: function (zIndex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user