Skip to content

Commit

Permalink
fix: join graphic-margin values with spaces for GeoServer vendor option
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfrey committed Feb 24, 2025
1 parent 9e357b1 commit fe8db5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SldStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2559,7 +2559,7 @@ export class SldStyleParser implements StyleParser<string> {
const fillArray: any[] = [];
const graphicFillPadding = fillSymbolizer.graphicFillPadding;
if (graphicFillPadding) {
this.pushGeoServerVendorOption(polygonSymbolizer, 'graphic-margin', `${graphicFillPadding}`);
this.pushGeoServerVendorOption(polygonSymbolizer, 'graphic-margin', graphicFillPadding.join(' '));
}
polygonSymbolizer.push({ [Fill]: fillArray });
if (fillCssParameters.length > 0) {
Expand Down

0 comments on commit fe8db5b

Please sign in to comment.