Hi,
I've added a series of services to the Silverlight application builder and wondering if there is a way to group layers?
E.G.
Infrastructure Life Cycle - 01
Rooms - 01
Infrastructure Life Cycle - 02
Rooms - 02
TO
Floor 01
Infrastructure Life Cycle - 01
Rooms - 01
Floor 02
Infrastructure Life Cycle - 02
Rooms - 02
Thank-you,
Renna
The newer release (v3.2) contains samples of doing a Group Layer using the Silverlight API (SLAPI). From what I've experienced, although grouping layers is second-nature in ArcMap, it does not translate when publishing a service. You must explicitly create code (XAML and the code-behind in either VB or C#) and then incorporate it into your project. It is not part of what's available through the v.#.2 Viewer / Builder.
Check out the API here https:// developers.arcgis.com /silverlight /sample-code/ (removing spaces), under the "Mapping" left hand tab, where it lists "Group Layers".
It seems rather strange that such an elemental part of the Desktop application (grouping layers according to what similarity you prefer) is made considerably more complex to implement using AGS. Might not be complex to the coding whizzes out there, but to folks who aren't full-time developers, it's a bit of a wake-up call.