in version 4.24, print widget not printing with Tile layer as basemap, shows error, it prints without tile layer, any solution to print with tile layer?
Hi @mmkmmkv, thanks for posting your question here. The current version is 4.28, so this issue may have been fixed at a more recent release. If you can share a reproducible test app that shows the error, we could take a look. I'd also recommend looking at our known print limitations for guidance:https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html
@Noah-Sager this is layerType":"ArcGISTiledMapServiceLayer" which is added as basemap which is published as tiled layer which is a image, also this is not working in 4.28, for this any permission needed for print as pdf, png, etc?
Also, when added as MapImageLayer, it shows error as, message: "Unable to load image: https://.../MapServer/export"name: "mapimagelayer:image-fetch-error"
Is any export permission required?
I just checked Image Tile layer its spatial reference is 3857 but published tile layer has spatial reference of 4326, does it make a difference?
In export url, i tried below url:
https://.../MapServer/export?bbox=(SPECIFY_BBOX_HERE_OF_3857)&bboxSR=3857&layers=&layerDefs=&size=&imageSR=4326&historicMoment=&format=gif&transparent=false&dpi=&time=&timeRelation=esriTimeRelationOverlaps&layerTimeOptions=&dynamicLayers=&gdbVersion=&mapScale=&rotation=&datumTransformations=&layerParameterValues=&mapRangeValues=&layerRangeValues=&clipping=&spatialFilter=&f=html
how & where to specify imageSR in print service for export? or bboxSR? if required
Above code prints empty pdf which has basemap tile layer, any reason or any suggestions?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.