Skip to content

Commit

Permalink
fix: print with overlays from LMSearch plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Sep 30, 2022
1 parent 62529cd commit 75f21a8
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 @@ -348,7 +348,7 @@ export default function PrintResize(options = {}) {
const featureStyle = feature.getStyle();
if (featureStyle) {
const styleScale = multiplyByFactor(1.5);
featureStyle.forEach(style => {
Array.from(featureStyle).forEach(style => {
const image = style.getImage();
if (image) {
const imageScale = image.getScale() ? multiplyRelativeValueByFactor(image.getScale()) : styleScale;
Expand Down

0 comments on commit 75f21a8

Please sign in to comment.