Merge pull request #3044 from kerryarts/vml-bringtofront-fix

Fix _bringToFront/Back implementation for VML renderer
This commit is contained in:
Vladimir Agafonkin 2014-11-21 01:16:47 +02:00
commit 9128193e5b

View File

@ -116,6 +116,14 @@ L.SVG.include(!L.Browser.vml ? {} : {
_setPath: function (layer, path) {
layer._path.v = path;
},
_bringToFront: function (layer) {
L.DomUtil.toFront(layer._container);
},
_bringToBack: function (layer) {
L.DomUtil.toBack(layer._container);
}
});