Fix super call in GenericIcon
This commit is contained in:
parent
fdf5e521d8
commit
3cb9f8f315
@ -75,7 +75,7 @@ export class GenericIcon extends DivIcon {
|
|||||||
this._image.src = url;
|
this._image.src = url;
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
super._setIconStyles.call(div, 'icon');
|
super._setIconStyles(div, 'icon');
|
||||||
|
|
||||||
div.appendChild(this._image);
|
div.appendChild(this._image);
|
||||||
div.classList.add('marker');
|
div.classList.add('marker');
|
||||||
|
Loading…
Reference in New Issue
Block a user