AnsweredAssumed Answered

JS API: Printing Legend with map

Question asked by shoe788 on Nov 10, 2014
Latest reply on Feb 20, 2015 by jarrod.doucette

On the Print Webmap sample (Print webmap | ArcGIS API for JavaScript ) there is this code and comment...


legendLayers: [], // empty array means no legend


What is supposed to be passed into here? The legend dijit has layers and layerInfos. I have tried both but I am not seeing any legend or symbology on the output.