Print legend on map

3498
12
Jump to solution
09-26-2016 05:42 AM
BrianFoley1
New Contributor II

I am trying to print my map with it's legend and am having an issue with the legend not showing up.  This is my code : https://jsfiddle.net/befoley/vxmfatw1/17/ . (For some reason, I can't get the printout to show when running it in JSFiddle)  This is what my map looks like when I run it on my server : 

And this is what the printout looks like :

 I can't figure why my legend doesn't appear on the printout.  Can anyone provide some suggestions.  Thanks.

0 Kudos
12 Replies
ShruthiSrinivasan1
New Contributor III

Robert,

I used the standard print service (print widget) and the layer headings are still not displayed. Besides the vertical spacing between the legend items, everything is the same.

0 Kudos
ShruthiSrinivasan1
New Contributor III

Robert, I have also attached screenshots from the app's print output (using print task) and the legend from the map service.

Print task output from the app  

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

I can't say I know how to achieve what you are looking for.

0 Kudos