AnsweredAssumed Answered

Exclude legend entry in print for MapImageLayer

Question asked by Labntisegi on Feb 4, 2019

Hi! I am using the print widget with MapImageLayer in an arcgis for js 4.10 application. Everything works fine besides the fact that the legend is not showing up as supposed. On some sublayers I put "legendEnabled: false". Correctly those don't show up in the legend of the running application. However this parameter has no effect on the legend in the print output where the legend entry shows up. Is there a possibility to exclude those layers also from the print output legend?

In the web map as json parameter I can see "legendEnabled: false" is included.

Outcomes