Skip to content

Commit 9d7ff66

Browse files
committed
polygon text font color
1 parent 896c37a commit 9d7ff66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/js/journeymap.js

+1
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ class Journeymap {
573573
strokeOpacity: polygon.strokeOpacity,
574574
strokeWidth: polygon.strokeWidth,
575575
label: polygon.label,
576+
fontColor: polygon.fontColor,
576577
fillColor: polygon.fillColor,
577578
fillOpacity: polygon.fillOpacity,
578579
})

src/main/resources/assets/journeymap/web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<v-style v-if="visiblePolygons">
3131
<template v-for="(polygon) in polygons">
3232
.leaflet-tooltip.{{ polygon.className }} {
33-
color: {{ polygon.fillColor }};
33+
color: {{ polygon.fontColor }};
3434
border-color: {{ polygon.strokeColor }};
3535
}
3636
</template>

0 commit comments

Comments
 (0)