Exclude legend entry in print for MapImageLayer

317
0
02-04-2019 06:24 AM
LabNTISEGI-NOVA
New Contributor II

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.

0 Kudos
0 Replies