Merge pull request #3044 from kerryarts/vml-bringtofront-fix
Fix _bringToFront/Back implementation for VML renderer
This commit is contained in:
commit
9128193e5b
@ -116,6 +116,14 @@ L.SVG.include(!L.Browser.vml ? {} : {
|
|||||||
|
|
||||||
_setPath: function (layer, path) {
|
_setPath: function (layer, path) {
|
||||||
layer._path.v = path;
|
layer._path.v = path;
|
||||||
|
},
|
||||||
|
|
||||||
|
_bringToFront: function (layer) {
|
||||||
|
L.DomUtil.toFront(layer._container);
|
||||||
|
},
|
||||||
|
|
||||||
|
_bringToBack: function (layer) {
|
||||||
|
L.DomUtil.toBack(layer._container);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user