diff --git a/loleaflet/src/layer/vector/SVGGroup.js b/loleaflet/src/layer/vector/SVGGroup.js index 35d710a0d..b84510cce 100644 --- a/loleaflet/src/layer/vector/SVGGroup.js +++ b/loleaflet/src/layer/vector/SVGGroup.js @@ -58,6 +58,7 @@ L.SVGGroup = L.Layer.extend({ if (this._path && this._rect._path) { this._rect._map = this._map; this._rect._renderer = this._renderer; + L.DomUtil.addClass(this._path, 'leaflet-control-buttons-disabled'); this._path.appendChild(this._rect._path); this.addInteractiveTarget(this._rect._path); }