AnsweredAssumed Answered

PrintTemplate legendLayers with group layers

Question asked by marcoo99 on Nov 20, 2014

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).

 

Outcomes