Select to view content in your preferred language

PrintTask 3.x vs 4.x & default graphics layer

401
0
10-24-2017 12:27 PM
deleted-user-RAnWn8DDSd1P
New Contributor III

In 3.x the PrintTask Web_Map_as_JSON request parameter includes the map.graphics layer in operationalLayers by default, so any graphics you may have added to the map.graphics layer will end up in the print image.  In 4.x the view.graphics layer is not included by default.  Is there a way to include it like 3.x? 

We have just changed from 10.3.1 to 10.5.1 on our ArcGIS servers and the 3.x request that includes map.graphics does work fine and return the graphics from both versions of server.  However, I've been unable to crowbar the view.graphics layer into the 4.x Web_Map_as_JSON.operationalLayers array and achieve the same result.

0 Kudos
0 Replies