Bug in legend widget? Grouped legend values appear multiple times

3771
21
12-09-2010 01:45 PM
StephenLead
Regular Contributor III
In ArcMap, create a Unique Values symbology, select multiple categories, then right-click and Group them.

Publish to ArcGIS Server and add as a dynamic map service. Using the new JS API version 2.1 legend widget, create a legend from this layer.

I'm finding that the grouped categories display multiple times. Eg, if the group consists of 3 individual categories, the (identical) symbol will appear in the legend 3 times.

Please let me know if you need any further information to reproduce this bug.

Thanks,
Steve

PS I have no idea why this title has a smiley face. Maybe that's another bug.
0 Kudos
21 Replies
PärÅman
New Contributor II

Still a problem. Legend has duplicate rows for grouped values using Map Viewer (Beta), but it's correct displayed in Map Viewer.

Using the Map Viewer (Beta) map in a webapp built on ArcGIS JS API (4.22).

Stuck with ArcGIS Enterprise 10.8.1 at the moment, later releases fixes this perhaps, but the bug was reported in a decade ago, not too hopeful.

 

AlejandroMorales_
New Contributor

Still a problem in 2023. Issue is visible within Experience Builder using the Legend Widget. Similar to ParAman the Map Viewer legend shows up fine, but the legend in EP shows duplicates where symbology was grouped.

0 Kudos