Skip to content

Commit

Permalink
fix: use round style for line-join and line-cap
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Mar 13, 2024
1 parent bac699c commit 160eaaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export const lineLayer = ({ id, color, width, opacity, source, filter }) => ({
'line-width': widthExpr(width),
'line-opacity': opacity ?? defaults.opacity,
},
layout: {
'line-join': 'round',
'line-cap': 'round',
},
filter: filter || isLine,
})

Expand Down

0 comments on commit 160eaaf

Please sign in to comment.