Skip to content

Commit

Permalink
Merge pull request origo-map#1607 from origo-map/print-lmsearch
Browse files Browse the repository at this point in the history
fix: print with overlays from LMSearch plugin
  • Loading branch information
johnnyblasta committed Oct 12, 2022
2 parents 9989cb1 + 75f21a8 commit 71afbab
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 71afbab

Please sign in to comment.