Skip to content

Commit

Permalink
Merge pull request #940 from geoadmin/fix-644-color-issue-print-polygon
Browse files Browse the repository at this point in the history
PB-644: Fix line color issue on printing polygon.
  • Loading branch information
ismailsunni authored Jun 20, 2024
2 parents 6df4ea5 + f5a561a commit 8e90ae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/featureStyleUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ export function featureStyleFunction(feature, resolution) {
color: [...editableFeature.fillColor.rgb.slice(0, 3), 0.4],
}),
zIndex: 0,
stroke: new Stroke({
color: editableFeature.fillColor.fill,
width: 3,
}),
})
)
}
Expand Down

0 comments on commit 8e90ae0

Please sign in to comment.