From 55c81c682b77d891878d1b7370c7710dd9891606 Mon Sep 17 00:00:00 2001 From: MuchQuak Date: Thu, 16 May 2024 17:09:40 -0700 Subject: [PATCH] uses leaflet path method to set color so that it will update when group is not re drawn closes 1319 --- collections/map/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections/map/index.php b/collections/map/index.php index 0587cc65f9..be80f9b86a 100644 --- a/collections/map/index.php +++ b/collections/map/index.php @@ -678,7 +678,7 @@ class LeafletMapGroup { if(marker.options.icon && marker.options.icon.options.observation) { marker.setIcon(getObservationSvg({color: `#${color}`, size:30 })) } else { - marker.options.fillColor =`#${color}` + marker.setStyle({fillColor: `#${color}`}) } } }