Iam trying to use the Print API of ArcGIS Javascript API 3.29 to print the map with the legend.
Iam having issues in the output that is generated.
My actual layers have legends like
But in the output print I get the following incorrect legend
I cannot see the names of the layers like Layer1 and Layer2.
Is this a bug or am I missing anything.
We are currently using the ArcGIS 10.4.
Following is the snippet of the code Iam trying to use.
var legendLayer = new LegendLayer();
legendLayer.layerId = fireLayer.id;
legendLayer.subLayerIds = [189,188,187];
var legendLayer1 = new LegendLayer();
legendLayer1.layerId = taturaLayer.id;