Select to view content in your preferred language

New Map Viewer: duplicate legend items

1237
1
05-05-2023 10:31 AM
Labels (3)
ChristinaEpperson3
New Contributor II

In AGOL New Map Viewer, the legend is duplicating some items that were grouped together in ArcPro when published.  This same service in Enterprise Portal / Classic Map Viewer displays correctly in the legend.  Is this perhaps a bug with the New Map Viewer? Or do I need to do something (write some arcade script) to get the behavior I want? 

Some info: 

  • Our portal is version 10.9.  
  • Streams in AGOL is via distributed collaboration
  • Yes, I really want these items grouped

Below are some screenshots to illustrate the issue: 

New Map Viewer in AGOL (duplicate stream legend items): 

NewMapViewerLegend.JPG

Classic Map Viewer from our portal (streams in legend works as expected):

ClassicMapViewerLegend.JPG

Tags (2)
1 Reply
xz3
by Esri Contributor
Esri Contributor

hi there, 

Workaround for this issue: 

  1. open "Style" panel after selecting the layer in question
  2. under  "Choose Attributes", delete the existing/selected one
  3. add the same attribute back in by clicking on the plus button
  4. under "Pick a style", choose "Types (unique symbols)"
  5. Scroll down to the bottom - click on "Move up" after clicking the three dots on the right side of "Other"

 or alternatively you can try using simple symbol when publishing from arcgis pro, and then symbolize and group things from arcgis online.

 

this is most likely an existing bug (BUG-000151332) - you can search for and track this bug number from your my-esri portal.

0 Kudos