Skip to content

Commit

Permalink
Merge pull request #337 from chrrik/master
Browse files Browse the repository at this point in the history
fix: preserve visibility in line symbolizer for fill outline
  • Loading branch information
KaiVolland authored Nov 11, 2024
2 parents 25559d4 + dfda998 commit 8542656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MapboxStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,7 @@ export class MapboxStyleParser implements StyleParser<Omit<MbStyle, 'sources'>>
symbolizerClone = structuredClone(symbolizer as FillSymbolizer);
const lineSymbolizer: LineSymbolizer = {
kind: 'Line',
visibility: symbolizerClone?.visibility,
color: symbolizerClone?.outlineColor,
opacity: symbolizerClone?.outlineOpacity,
width: symbolizerClone?.outlineWidth,
Expand Down

0 comments on commit 8542656

Please sign in to comment.