Hi,
I have a custom layer/legend that uses a separate legend widget for the sublayers in each MapImageLayer. This has worked correctly up through 4.15 but stopped working in 4.16. In 4.16 it initializes correctly but as soon as there is a visibility change the legend images are incorrectly updated.
Image 1 shows the correctly initialized layer/legends and Image 2 shows what happens after turning off the “K1 Mountains” sublayer in the first MapImageService. Note the first legend widget correctly removes K1, and correctly maintains the title of the remaining sublayer K1 Mountain Classes BUT the legend is now incorrect (i.e. it shows the K2 Classes legend).
Does anyone know of a 4.16 legend change that could be causing this? Are application-based renderers now required? I’ve been using the symbology established in the actual map service rather than creating renderers in the application, could that be causing the problem?
Thanks in advance!!