Skip to content

Commit

Permalink
first parameter of the call is the ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
rmichaelis committed Jun 20, 2024
1 parent 11633d4 commit 94d78a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoportal/jsapi/src/printmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 94d78a6

Please sign in to comment.