Skip to content

Commit 3122db6

Browse files
committed
OWC-137 icon color
1 parent cc7305b commit 3122db6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/make-marker-icon.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const makeMarkerIcon = (L, { marker, defaultColor }) => {
99
} else {
1010
icon = marker.icon;
1111
iconType = 'hosted-svg';
12+
document.querySelector('#dataset-map').style.setProperty('--l-icon-color', iconColor);
1213
}
1314

1415
const iconSettings = {

0 commit comments

Comments
 (0)