AnsweredAssumed Answered

Legend layer headings not displayed in print task

Question asked by shruthi13 on Feb 20, 2017

When the legendLayers is populated with the layerId, the legend is displayed correctly in the print output, but the layer headings/title is not displayed in the legend.


var test = new LegendLayer();    
test.layerId = "biomass";    //biomass is the id of a dynamic map service layer (type: raster layer) added to the map


template.layoutOptions = {
   "legendLayers": [test],


I would appreciate any solutions for this issue. Thanks.