Skip to content

Commit

Permalink
polygon text font color
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticdrew committed Jun 20, 2024
1 parent 896c37a commit 9d7ff66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/js/journeymap.js
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ class Journeymap {
strokeOpacity: polygon.strokeOpacity,
strokeWidth: polygon.strokeWidth,
label: polygon.label,
fontColor: polygon.fontColor,
fillColor: polygon.fillColor,
fillOpacity: polygon.fillOpacity,
})
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/journeymap/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<v-style v-if="visiblePolygons">
<template v-for="(polygon) in polygons">
.leaflet-tooltip.{{ polygon.className }} {
color: {{ polygon.fillColor }};
color: {{ polygon.fontColor }};
border-color: {{ polygon.strokeColor }};
}
</template>
Expand Down

0 comments on commit 9d7ff66

Please sign in to comment.