From 6018f69f0ed7d421e94a22df12c223e7bebb60f8 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Mon, 10 Mar 2025 11:29:07 +0200 Subject: [PATCH] UI: Remove process class marker-stroke in marker shape --- .../app/shared/models/widget/maps/marker-shape.models.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ui-ngx/src/app/shared/models/widget/maps/marker-shape.models.ts b/ui-ngx/src/app/shared/models/widget/maps/marker-shape.models.ts index 3d8f44df3f..29e04dbaa1 100644 --- a/ui-ngx/src/app/shared/models/widget/maps/marker-shape.models.ts +++ b/ui-ngx/src/app/shared/models/widget/maps/marker-shape.models.ts @@ -224,14 +224,6 @@ const createColorMarkerShape = (iconRegistry: MatIconRegistry, domSanitizer: Dom el.setAttribute('fill', '#'+color.toHex()); el.setAttribute('fill-opacity', `${color.getAlpha()}`); }); - const strokeElements = Array.from(svgElement.getElementsByClassName('marker-stroke')); - if (svgElement.classList.contains('marker-stroke')) { - strokeElements.push(svgElement); - } - strokeElements.forEach(el => { - el.setAttribute('stroke', '#'+color.toHex()); - el.setAttribute('stroke-opacity', `${color.getAlpha()}`); - }); const opacityElements = Array.from(svgElement.getElementsByClassName('marker-opacity')); if (svgElement.classList.contains('marker-opacity')) { opacityElements.push(svgElement);