loleaflet: set opacity 0.5 to a group element
Change-Id: I2f3e7f275e0b217041fd2e4c83a1360cdced738a
This commit is contained in:
parent
d2a4e1677f
commit
ef52ba01a4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue