Skip to content

Commit

Permalink
Fix error on arcgis layers when printing
Browse files Browse the repository at this point in the history
  • Loading branch information
llienher committed Nov 25, 2019
1 parent 11fb680 commit f12d8ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/print/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,12 @@ PrintService.prototype.encodeWmsLayer_ = function(arr, layer, url, params) {
version: params.VERSION,
useNativeAngle: this.printNativeAngle_,
};

// Quickfix to GSGMF-1151 for arcgis layers
if (object.serverType === 'arcgis') {
delete object.serverType;
}

arr.push(object);
};

Expand Down

0 comments on commit f12d8ea

Please sign in to comment.