Creating a Legend from "Grouped" Map Service

344
1
Jump to solution
06-20-2023 01:05 AM
SimonLaughton
New Contributor III

Hello all

I am doing some testing before we come to our next project at work to see if I can iron out some queries from our map owners.  One issue that has been raised is how the Legend presents itself.

Currently I use the Layers List widget (see live example here) which had meant:

  • We can have the "legend" appear open / expanded on opening
  • We can see the symbology for the layers
  • We can select which layers are toggled "on" or "off" on opening

However - as our layers are published as a map service in a group (I supply an mxd with the layers on to our IT team who then publish the service) you can see there is a route folder (LP2040_Proposed) with the layers in.  This means you cannot use the "turn on/off" all layers feature as it just turns that route folder on off and not the layers.

Would we need to publish the layers as individual services to achieve this?  There are many layers so this could be a pain.  Or is there another way around this?

I spotted this post from a while ago which looks like it could help but the link is no longer live 😞

Thank you!

0 Kudos
1 Solution
1 Reply