From 0aa9f3ffb1b9e0bfe347ede34b69ed5c5be727f3 Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Thu, 19 Oct 2023 11:59:24 +0300 Subject: [PATCH] fixes kolzchut/srm#620 --- projects/srm/src/app/map/map.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/srm/src/app/map/map.component.ts b/projects/srm/src/app/map/map.component.ts index 716f740a..8aa001e1 100644 --- a/projects/srm/src/app/map/map.component.ts +++ b/projects/srm/src/app/map/map.component.ts @@ -327,6 +327,8 @@ export class MapComponent implements OnChanges, AfterViewInit { colorStyle.push('#444444'); this.map.setPaintProperty(LAYER_POINTS_ON_CENTER, 'circle-color', colorStyle); this.map.setPaintProperty(LAYER_POINTS_STROKE_ON, 'circle-stroke-color', colorStyle); + this.map.setPaintProperty(LAYER_POINTS_ACTIVE, 'circle-color', colorStyle); + this.map.setPaintProperty(LAYER_POINTS_STROKE_ACTIVE, 'circle-stroke-color', colorStyle); this.map.getStyle().layers?.filter((l) => LAYERS_CLICKABLE.indexOf(l.id) >= 0).forEach((layer) => { const layerName = layer.id;