Skip to content

Commit

Permalink
Removed unnecessary null argument
Browse files Browse the repository at this point in the history
Removed null as argument from ScaleMapboxLayer
  • Loading branch information
sweco-seguro committed Dec 12, 2023
1 parent 9cd8ea6 commit 30918e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/print/print-resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export default function PrintResize(options = {}) {
const styleName = layer.get('styleName');
const styles = viewer.getStyle(styleName);
if (styles && styles[0][0].custom.type === 'mapbox') {
scaleMapboxLayer(layer, styleName, styles, null);
scaleMapboxLayer(layer, styleName, styles);
}
}

Expand Down

0 comments on commit 30918e1

Please sign in to comment.