Select to view content in your preferred language

PrintTemplate legendLayers with group layers

1438
0
11-20-2014 05:42 AM
Marc-OlivierEthier
New Contributor II

I have a dynamic map service with :

Group Layer A (id: 0)

   - Layer B (id: 1)

   - Layer C (id: 2)

All layers are visible at the extent. When printing, I want to see on the map layer B and C.

The problem :

I want to use printTemplate.layoutOptions.legendLayers to show only layer C in the legend (not Layer B).

It seem like legendLayers works only with the first level in the hierarchy (Group Layer A).

0 Kudos
0 Replies