English
Bug Number BUG-000094865
Submitted Mar 11, 2016
Modified Jun 11, 2020
Severity High
Applies To ArcGIS API for JavaScript
Version Found 3.16
Prog Language N/A
Server Platform N/A
Client Platform N/A
Database N/A
Locale N/A
Status Implemented
Version Fixed 10.5.1
SP Fixed

Bug BUG-000094865

Synopsis

Printing GeoServer web map tile service (WMTS) layers from a Web Map or a Web AppBuilder for ArcGIS application in Portal for ArcGIS results in geographically shifted or blank images.


Additional Information

N/A


Alternate Solution

1. Open Fiddler or a HTTP inspector in the browser and execute the print task again. Examine the WebMapAsJson string.
2. The default ‘type’ is WebTiledLayer.
3. Copy the JSON string into a text viewer and change the ‘type’ to ‘wmts’. Navigate to the print task URL at the ArcGIS Server REST endpoint.
4. Insert the new JSON string and execute the print task using PDF and MAP_ONLY template.
5. Download and open the PDF image from the REST endpoint. The PDF displays the correct location.