Skip to content

Commit e5870be

Browse files
authored
Merge pull request #56 from OpenWebconcept/feature/OWC-137
OWC-137 icon color
2 parents 62c4288 + 3122db6 commit e5870be

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)