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.
Solved! Go to Solution.
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.
Robert, I have also attached screenshots from the app's print output (using print task) and the legend from the map service.
I can't say I know how to achieve what you are looking for.