fix non-interactive vml layers
This commit is contained in:
parent
0ccb43080b
commit
93f4ba7f8e
@ -46,7 +46,10 @@ L.SVG.include(!L.Browser.vml ? {} : {
|
||||
_addPath: function (layer) {
|
||||
var container = layer._container;
|
||||
this._container.appendChild(container);
|
||||
layer.addInteractiveTarget(container);
|
||||
|
||||
if (layer.options.interactive) {
|
||||
layer.addInteractiveTarget(container);
|
||||
}
|
||||
},
|
||||
|
||||
_removePath: function (layer) {
|
||||
|
Loading…
Reference in New Issue
Block a user