Hello,
I tested with adding some layers after Print Submit event, and they don't seem to be sent to the Print Job.
const printWidget = new Print();
const layer1 = "some dynamic layer";
printWidget.on("submit", function(results){
mapView.add("layer1");
//Can it wait for it to render before sending to Export Map Service ?
await mapview.render();
});
Is there a pre-submit event that can wait for map to load the most recent layer and then sent to a Export Map Service ?
Thanks,