Skip to content

Commit

Permalink
fix: temporarily disable layer type
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasLohoff committed Jun 24, 2022
1 parent ab1dd11 commit 8e1c121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Button/PrintButton/PrintButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const PrintButton: React.FC<PrintButtonProps> = ({
// second page for legends
doc.addPage('a4', 'l');

pdfSpec.layers.forEach((layer, idx) => {
pdfSpec.layers.forEach((layer: any, idx) => {
const legendUrl = layer.legendUrl;
const name = layer.layerName;
const xPosition = 20 + (60 * idx); // todo: dynamic size
Expand Down

0 comments on commit 8e1c121

Please sign in to comment.