Skip to content

Commit

Permalink
Fix for legend circle symbols without stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Dec 11, 2023
1 parent 8b5027b commit 693894b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packages/client/src/dataLayers/legends/compileLegend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2518,13 +2518,14 @@ function createCircleSymbol(
representedProperties,
1
);
const strokeWidth = getPaintProp(
paint,
"circle-stroke-width",
featureData,
representedProperties,
1
);
const strokeWidth =
getPaintProp(
paint,
"circle-stroke-width",
featureData,
representedProperties,
1
) || 0;
const strokeColor = getPaintProp(
paint,
"circle-stroke-color",
Expand Down

0 comments on commit 693894b

Please sign in to comment.