Skip to content

Commit

Permalink
fix: missing graphic-fill
Browse files Browse the repository at this point in the history
processSymbolLayerIfCharacterMarker results was not used. Therefor
GraphicFill was always missing.
  • Loading branch information
ger-benjamin committed Nov 12, 2024
1 parent f5e2943 commit 4ff5bcc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
module.exports = {
extends: [
'@terrestris/eslint-config-typescript',
'prettier'
],
extends: ["@terrestris/eslint-config-typescript", "prettier"],
rules: {
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
camelcase: [
'off',
"off",
{
ignoreImports: true,
},
Expand Down
12 changes: 10 additions & 2 deletions src/processSymbolReference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@ export const processSymbolReference = (
layer.type,
)
) {
processSymbolLayerIfCharacterMarker(symbol, layer, symbolizer, options);
symbolizers.push(
...processSymbolLayerIfCharacterMarker(
symbol,
layer,
symbolizer,
options,
),
);
} else {
symbolizers.push(symbolizer);
}
symbolizers.push(symbolizer);
});
return symbolizers;
};
Expand Down

0 comments on commit 4ff5bcc

Please sign in to comment.