Fix super call in GenericIcon

This commit is contained in:
James Lyne 2021-08-31 16:41:11 +01:00
parent fdf5e521d8
commit 3cb9f8f315

View File

@ -75,7 +75,7 @@ export class GenericIcon extends DivIcon {
this._image.src = url;
// @ts-ignore
super._setIconStyles.call(div, 'icon');
super._setIconStyles(div, 'icon');
div.appendChild(this._image);
div.classList.add('marker');