From 94d78a6b7b5b05d09b2d087e381af3ae327d2e97 Mon Sep 17 00:00:00 2001 From: Renaud Michaelis Date: Thu, 20 Jun 2024 11:13:50 +0200 Subject: [PATCH] first parameter of the call is the ctx --- geoportal/jsapi/src/printmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoportal/jsapi/src/printmanager.js b/geoportal/jsapi/src/printmanager.js index f3a15349b..8d4888518 100644 --- a/geoportal/jsapi/src/printmanager.js +++ b/geoportal/jsapi/src/printmanager.js @@ -475,7 +475,7 @@ encodeVectorLayer_(arr, layer, resolution) { var styleData = null; var styleFunction = originalFeature.getStyleFunction(); if (styleFunction !== undefined) { - styleData = styleFunction.call(originalFeature, resolution); + styleData = styleFunction.call(originalFeature, originalFeature, resolution); } else { styleFunction = layer.getStyleFunction(); if (styleFunction !== undefined) {